Skip to content

Turn PostHog events into emails

Add Loops destinations in PostHog data pipelines. Send product events that start workflows, and keep Loops contacts in sync with your PostHog users.

PostHog eventproject_created
A
Your first Acme project is liveAcme · to Sam
Launch plan

Nice work, Sam

You created your first Acme project. Invite your team so they can see it and pitch in.

Invite your team
AcmeQuestions? Just reply to this email.
More

Your product data, in your emails

Two PostHog destinations cover events and contacts.

Events start workflows

Send events to Loops.so forwards the PostHog events you filter for, and each one can start a workflow.

Contacts stay in sync

Update contacts in Loops.so creates or updates contacts from Identify and Set person properties events.

Event properties in emails

Each event carries pathname by default. Map more properties, or send them all, to use in your emails.

Mailing lists

Add a mailingLists section to a destination’s source code to subscribe contacts to your lists.

How it connects

It needs PostHog’s data pipelines add-on or a self-hosted PostHog. The docs walk through each step.

Add a destination

In Data pipelines, click New destination, search for Loops, and pick events or contacts.

Add an API key

Paste a Loops API key into the Loops API Key field of each destination.

Test before you send

Test function sends real data. Mock out HTTP requests shows the request without sending it.

Frequently asked questions

What do I need in PostHog?

The data pipelines add-on, or a self-hosted version of PostHog. The Loops destinations are in Data pipelines, under New destination.

Which PostHog events are sent to Loops?

The ones you pick in the destination’s Filters section. Send events to Loops.so starts with Pageview, which reaches Loops as $pageview, so change the filter to the events you want to start workflows.

Which person properties sync to contacts?

email, userId, firstName, and lastName by default. Use Property mapping to add more, with the API name of each Loops contact property.

Should I include all properties?

Run a mock test first. Include all properties as attributes adds every property from the PostHog person record to Loops contacts, which can create a lot of custom contact properties.

Can I test without sending data to Loops?

Yes. Turn on Mock out HTTP requests in the Testing section to see the request data without sending it. Test function sends real data, which you can check on the Events and Audience pages in Loops.

Is there a free plan?

Yes. The free plan includes unlimited contacts and up to 4,000 emails to your first 1,000 contacts in any rolling 30-day window, marketing and transactional combined. Upgrade to send to more subscribed contacts.