Campaign builder

Campaigns are workflows that deliver messages to your users based your configured logic. In PostHog, you can create campaigns using a no-code campaign builder.

Fresh campaign with trigger block

Campaigns are composed of the following components:

ComponentDescription
TriggersWhat starts the campaign. We let you start a campaign when an event is performed (e.g. a user signs up), or programmatically via a webhook.
DispatchesThe messages you send, mail, slack, SMS, webhook, or any PostHog real time destinations.
DelaysWait steps such as "wait 2 days" or "wait until condition is true."
Audience splitsTarget and split the users you message with more specificity or try a/b testing with random branching.
PostHog actionsChange a person's properties, or trigger other events, once a person reaches a specific point in your campaign.

Triggers

Every campaign starts with a trigger. Triggers represent actions taken by users that kick off the campaign workflow. There are two types of triggers:

Trigger typeDescription
Event triggerA captured PostHog event (e.g. signed up)
Webhook triggerProgrammatically start a campaign with a webhook

Event triggers

Event triggers are any PostHog event. These can be manually or automatically autocaptured by our SDKs. They can be filtered by the event properties and persons properties attached to the event.

To filter your events, click on the three lines icon next to the event name and select Add filter.

Event trigger filter

Dispatches

Dispatches are the messages you send, mail, slack, SMS, webhook, or any PostHog real time destinations. There are 4 main types of dispatches:

Dispatch typeDescription
EmailSend an email natively through PostHog. Configured in the messaging channels section.
SlackSend a message to a slack channel. Configured in the messaging channels section.
WebhookCall external systems. Configured in the messaging channels section.
CDP destinationsUse any realtime destination as an dispatch step to deliver messages to users or other services.

Delays

Delays help you control the timing of your messages. There are 3 types of delays:

Delay typeDescription
Fixed waitWait for a fixed amount of time (minutes/hours/days).
Wait until conditionWait until a specific condition is met (e.g. user has property set to a specific value).
Wait until time windowWait until a specific time window (e.g. only send on weekdays 9-5).

You can see an example of a delay in the email drip campaign tutorial.

Audience splits

Audience splits help you target your messages to specific groups of users. There are 2 types of audience splits:

Audience split typeDescription
Conditional branchSegment by event or persons properties.
Random branchExperiment or A/B test.

These can be used to target users based on their behavior or properties.

PostHog Actions

PostHog Actions allow you to change a person's properties, trigger other events, or chain campaigns together once a person reaches a specific point in your campaign. There are 2 types of PostHog actions:

PostHog action typeDescription
Capture EventTrigger a PostHog event. This can be a useful way to chain campaigns together, or track the effectiveness of campaigns in analytics dashboards.
Update Person PropertiesSet a specific person property, or create a new one. This can be a useful way to chain campaigns together.

Community questions

Was this page useful?

Questions about this page? or post a community question.