Last updated:

|Edit this page

This app 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.


This app requires either PostHog Cloud, 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!


  1. Visit the 'Apps' page in your instance of PostHog.
  2. Search for 'Twilio' and select the app, press 'Install'.
  3. Follow the steps below to configure the app.


To configure this app, 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

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.


Is the source code for this app available?

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

Who created this app?

We'd like to thank community members Sandeep Guptan and Himanshu Garg for their work creating this app. 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 app?

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

What if I have feedback on this app?

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.


Was this page useful?

Next article


This app 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, or a self-hosted PostHog instance running version 1.31.0 or later. The app supports capture , page , identify , and alias calls. Not running 1.31.0? Find out how to update your self-hosted PostHog deployment ! Installation To install the…

Read next article