Slack, SMS, and webhooks

Automations can do more than send email. They can post to your team's Slack, text your users, or call any system. Connect Slack and Twilio once on the Channels tab. Only project admins can add a channel.

Slack

Post a message to a Slack channel from an automation, such as when a big customer signs up. A Slack message can also start an automation.

  1. On the Channels tab, click New channel, then Slack.
  2. In Slack, click Allow to add the PostHog app to your workspace.
  3. Add PostHog to each channel that it posts in. In the channel, click the channel name, open Integrations, click Add an app, and pick PostHog. You can also mention @PostHog in the channel.

Then add a Slack step to an automation, and pick the channel.

Ask your agentbuilding-workflows
“Post in our sales Slack channel when a customer upgrades to a paid plan.”

SMS

Send text messages through Twilio. On the Channels tab, click New channel, then Twilio, and enter:

FieldWhere to find it
Account SIDTwilio Console
Auth tokenTwilio Console

Then add an SMS step to an automation.

Webhooks and destinations

A Webhook step sends a request to any URL, such as your own API, with data from the person and the event. To use the response in later steps, save it as a variable. See use results in later steps.

To send to one of PostHog's other destinations, such as a CRM or an ad platform, click More in the step list.

Push notifications

See push notifications.

Still have questions?

Was this page useful?