Easily Integrate Customer.io Webhooks with your application.
https://customer.io/docs/webhooks/
Steps to receive Customer.io Webhooks
- Sign up for your free Hooky account.
- Create a new Webhook Source, and select Customer.io. This will be the endpoint that receives webhooks on behalf of your application, and forwards them using the unified SDK.
- Step 1
- Step 2
- Once a webhook is received from Customer.io, you'll see it under the Live Logs section of your webhook source.
- Next, follow the examples below to integrate the Hooky SDK in ruby or javascript, and start receiving webhooks.
Integrating Customer.io Webhooks Using Javascript
- Sign up for your free Hooky account.
- Create a new Webhook Source, and select Customer.io. This will be the endpoint that receives webhooks on behalf of your application, and forwards them using the unified SDK.
- Step 1
- Step 2
- Once a webhook is received from Customer.io, you'll see it under the Live Logs section of your webhook source.
- Next, follow the examples below to integrate the Hooky SDK in ruby or javascript, and start receiving webhooks.
Integrating Customer.io webhooks with Hooky in your Javascript based application is straight forward. Just grab the SDK, and call a function when that webhook is received.
Integrating Customer.io Webhooks Using Ruby
Integrating Customer.io webhooks with Hooky in your Ruby or Ruby on Rails application is straight forward. Just grab the SDK, and call a method when that webhook is received.
Configuring Customer.io Webhook Authentication
Here's how it works
Supported Customer.io Webhook Events
customer_subscribed
A person’s “unsubscribed” attribute was explicitly set to “false”
customer_unsubscribed
A person’s “unsubscribed” attribute was explicitly set to “true”
email_drafted
An email draft was created
email_attempted
An email that couldn’t be sent to the delivery provider will be retried
email_deferred
An email that the delivery provider couldn’t send will be retried by the delivery provider
email_sent
An email was sent from Customer.io to the delivery provider
email_delivered
The delivery provider reported the email was delivered to an inbox
email_opened
An email was opened
email_clicked
A tracked link in an email was clicked
email_converted
A person matched a conversion goal attributed to an email
email_unsubscribed
A person unsubscribed via a particular email
email_bounced
The delivery provider was unable to deliver the email
email_dropped
An email wasn’t sent because it was addressed to a person who was suppressed
email_spammed
An email was marked as spam by the recipient
email_failed
An email couldn’t be sent to the delivery provider
push_drafted
A push notification draft was created
push_attempted
A push notification that couldn’t be sent to the delivery provider will be retried
push_sent
A push notification was sent from Customer.io to the delivery provider
push_opened
The app on a person’s device reported the push notification was opened. If you don’t report opened metrics to us using the API, you will only see this event type when a person traps a tracked link in a notification resulting in opened and clicked events with identical timestamps.
push_clicked
A tracked link in a push notification has been clicked
push_converted
A person matched a conversion goal attributed to a push notification
push_bounced
The delivery provider reported at least one invalid device token
push_dropped
A push notification wasn’t sent because at least one device token previously bounced
push_failed
A push notification couldn’t be sent to the delivery provider
sms_drafted
An SMS draft was created
sms_attempted
An SMS that couldn’t be sent to the delivery provider will be retried
sms_sent
An SMS was sent from Customer.io to the delivery provider
sms_delivered
The delivery provider reported the SMS was delivered
sms_clicked
A tracked link in an SMS has been clicked
sms_converted
A person matched a conversion goal attributed to an SMS
sms_bounced
The delivery provider was unable to deliver the SMS
sms_failed
An SMS couldn’t be sent to the delivery provider
slack_drafted
A slack draft was created
slack_attempted
A slack message that couldn’t be sent will be retried
slack_sent
A slack message was sent from Customer.io to slack
slack_clicked
A tracked link in a slack message has been clicked
slack_failed
A slack message couldn’t be sent to slack
webhook_drafted
A webhook draft was created
webhook_attempted
A webhook that couldn’t be sent will be retried
webhook_sent
A webhook was sent from Customer.io to the specified Webhook URL
webhook_clicked
A tracked link in a webhook payload has been opened
webhook_failed
A webhook couldn’t be sent to the specified Webhook URL