Webhooks and Zapier
You can connect Vocus.io activity to any external application through webhooks. When combined with services like Zapier, users can design an endless range of workflows - such as post a message on a Slack channel, get a notification on your phone, or tag a lead in a CRM.
What's a webhook?
A webhook (also known as a web callback) is a way for an app to provide other applications with real-time information. The caller (in this case Vocus.io) makes an HTTP call to the callee (such as Zapier/IFTTT or any other service).
Connecting with Zapier
To trigger a Zapier workflow from a Vocus.io event, you'll need to tie one of Vocus.io webhooks to a Zapier endpoint. See this tutorial on Using Zapier for Hot Lead Notifications.
Webhook types
Vocus.io webhooks are available at the lower screen of your account settings (from the Dashboard > Settings > Inbox). Here's a screenshot:
- On email sent: whenever you send an email
- On email open: whenever a recipient opens an email
- On link click: whenever a recipient clicks a link in your email
- On hot lead: whenever a recipient is flagged as a hot lead
The above triggers hold true for any email, including those from a mail merge campaign or an automated followup sequence. Each of those triggers will include the email subject line, the recipient email address, among other details.
Data structures
A Vocus.io webhook will include the following details in its body.
{ event: String, values: email_sent, email_opened, link_clicked, hotlead timestamp: Long, subject: String, from: String, value: sender's email address to: Array[String], value: recipient(s) email addresses open_count: Integer click_count: integer }