Feature: Instafloss

How to enable Instafloss for Klaviyo

12min

Step 1. Copy the webhook URL from the Instafloss popup. 

You can find it by clicking on the Instafloss switch in your Klaviyo integration or during onboarding. 

Document image


Step 2. In Klaviyo, select Flows in the navigation sidebar

Document image




Step 3. Click Create Flow

Document image




Step 4. Click Create From Scratch

Document image




Step 5. Give it a name "Instafloss" and click Create Flow

Document image




Step 6. In Trigger Setup, select List or Segment with the email addresses you want to send to mailfloss

Be sure to make a note if this is a list or segment as you will need this information later.

Document image




Step 7. Select the list or segment you want to use and use the filter Email is set. It should look like the following screenshot.

Document image




Step 8. Under Actions, drag the Webhook action onto the flow builder

Document image




Step 9. Click the list or segment (New Subscribers in our example) trigger in the flow builder and then click the link to open it in a new window

Document image




Step 10. In the new window that opened from step 11, copy the string in the url between the slashes (/) after /list/. In our example, copy "HXg5ko".

Document image




Step 11. Click Configure in the flow builder Webhook box

Paste the webhook URL from step 3 into the destination URL, and include in the JSON body the segment or list id. If it is list, use list_id, and if a segment use segment_id. This is very important. Click Save to save the configuration.

Be sure to use list_id if it is a list or segment_id if a segment or it will not work.

Document image


The JSON body will look like the following (we use segment_id in our example since we are using the New Subscribers segment):

POST https://webhooks.mailfloss.com/webhook/klaviyo/<Webhook URL from Step 3> { "email": "{{ person.email }}", "segment_id": "HXg5ko" }



Step 12. Click the DRAFT dropdown in the webhook box in the flow builder and select LIVE, and then click Save & Exit

Document image




Step 13. Back in mailfloss, click the checkbox that you have completed the instructions, then click the button to turn on Instafloss

Document image


Please note that Instafloss is for real-time operations only. For bulk import/cleaning operations, see this article. Please do not send large batches of email addresses to the provided webhook address.