This destination triggers SMS messages in Twilio when specified events or actions are detected in PostHog.

You can set a timeout period of between 1 second and 31536000 seconds (1 calendar year) to avoid accidentally spamming users with too many messages.

Requirements

This destination requires either PostHog Cloud with the data pipeline add-on, or a self-hosted PostHog instance running version 1.30.0 or later.

Not running 1.30.0? Find out how to update your self-hosted PostHog deployment!

Installation

  1. In PostHog, click the "Data pipeline" tab in the left sidebar.
  2. Search for 'Twilio' and select the app, press 'Install'.
  3. Follow the steps below to configure the app.

Configuration

To configure this destination, you will need your Account SID and Auth Token from Twilio. You can find these in Twilio in your account menu under Account > Keys & Credentials > API Keys and tokens > Live credentials.

Additionally, you will need to know your Twilio Phone Number. Follow Twilio's documentation for buying or finding your Twilio phone numbers.

Additional configuration

OptionDescription
Account SID
Type: string
Required: True
Enter your Twilio Account SID
API token
Type: string
Required: True
Enter your Twilio API Token
Triggering events
Type: string
Required: True
Define eventName and Number like eventName:PhoneNumber,eventName:PhoneNumber
Sender Phone Numbers
Type: string
Required: True
Phone Number with country code
In how much time posthog should send message again (in seconds)?
Type: string
Required: True
Tell us frequency of message.

FAQ

Is the source code for this destination available?

PostHog is open-source and so are all destinations on the platform. The source code is available on GitHub.

Who created this destination?

We'd like to thank community members Sandeep Guptan and Himanshu Garg for their work creating this destination. Thank you, both!

Where can I find out more?

Check Twilio's documentation for more information on connecting Twilio with other services.

Who maintains this destination?

This destination is maintained by the community. If you have issues with the destination not functioning as intended, please let us know!

What if I have feedback on this destination?

We love feature requests and feedback! Please tell us what you think! to tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our community forum, or drop us a message.

Questions?

Was this page useful?

Next article

Variance

This destination exports PostHog data to Variance in real-time and formats it for use by revenue teams. This includes extracting accounts and contacts, making it easy to see customers by sales stage, and more. Requirements This requires either PostHog Cloud with the data pipeline add-on , or a self-hosted PostHog instance running version 1.31.0 or later. The destination supports capture , page , identify , and alias calls. Not running 1.31.0? Find out how to update your self-hosted…

Read next article