Webhook integration samples
Using webhooks, you can share customer journey data with just about any other service out there: analytics, CRM systems, marketing automation services, and much more. For example, automatically notify external services when a customer has taken a particular action within the journey, send customer data into your analytic tools, and trigger third-party emails, SMS or WhatsApp messages on specific in-journey events – there are numerous use cases, choose yours. Learn more about the Webhook element in Customer Journeys
This post shows how to implement webhooks for different use cases and services.
Mixpanel
Use case
Send events data from a journey to Mixpanel.
Prerequisites
- Mixpanel account and Project ID
- Service account
Webhook for ingestion API (https://developer.mixpanel.com/reference/events):
URL example
https://api.mixpanel.com/import?strict=1&project_id=XXXXXXX
Data example
Amplitude
Use case
Send events data from a journey to Amplitude.
Prerequisites
- Amplitude Account
Webhook for Ingestion API (https://developers.amplitude.com/docs/http-api-v2#request-format):
URL
https://api.amplitude.com/2/httpapi
Data example
Slack
Use case
Trigger Slack messages from a journey.
Prerequisites
- Slack Account
URL example
https://pushwoosh.slack.com/apps/XXXXXXXX-incoming-webhooks
Data example
Zapier
Use case
Send data to Zapier which can further be used in Zapier automation across 4000+ apps.
Prerequisites
- Zapier Account
URL example
https://hooks.zapier.com/hooks/catch/XXXXXXX/xxxxxxx
Data example
Twillio (SMS)
Use Case
Send SMS from a journey
Prerequisites
- Twillio Account (access to TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN)
- Phone number purchased
URL example
https://api.twilio.com/2010-04-01/Accounts/\$TWILIO_ACCOUNT_SID/Messages.json