The Popin Zapier App enables you to integrate Popin with thousands of other applications through Zapier. This guide provides instructions on how to connect Popin to Zapier, configure triggers, and use API endpoints for authentication and webhook subscriptions.
Before integrating with Zapier, ensure you have:
Popin provides four triggers to automate workflows when specific events occur.
Trigger: Fires when a new scheduled call is created in Popin.
Trigger Key: popin_scheduled_notification
{
"phoneNumber": "9876543210",
"countryCode": "+91",
"email": "test@tester.com",
"customerName": "John Doe",
"time": "10:00 AM",
"date": "2022-01-01",
"url": "https://popin.to/join/212345",
"language": "en",
"custom_1": "Category 1",
"custom_2": "Category 2",
"viewed": "https://yoursite.com/product/12345 | https://yoursite.com/product2/6789"
}
Trigger: Fires when a call is missed by agents in Popin.
Trigger Key: popin_missed_notification
{
"phoneNumber": "9538218000",
"countryCode": "+91",
"email": "tester@test.com",
"customerName": "John Doe"
}
Trigger: Fires when a user enters their contact details on Popin.
Trigger Key: popin_user_captured
{
"phoneNumber": "9876543210",
"countryCode": "+91",
"email": "tester@test.com",
"customerName": "John Doe",
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "new_campaign",
"utm_term": "product_term",
"utm_content": "ad_content",
"extra": "extra_data"
}
Trigger: Fires when a call is successfully completed in Popin.
Trigger Key: popin_call_successful
{
"phoneNumber": "9876543210",
"countryCode": "+91",
"email": "tester@test.com",
"customerName": "John Doe",
"agentName": "Vijth"
}
Endpoint: https://widget01.popin.to/zapier/v1/auth
Method: POST
Description: Used to validate the API Key when connecting Popin to Zapier.
Parameter | Type | Required | Description |
---|---|---|---|
api_key |
string | Yes | The API key obtained from Popin. |
Success Response (200 OK)
{
"status": 1,
"account": "Seller Account Name"
}
Failure Response (400 Bad Request)
{
"status": 0,
"message": "Invalid API KEY"
}
Endpoint: https://widget01.popin.to/zapier/v1/subscribe
Method: POST
Description: Used to subscribe to Popin triggers and register webhooks.
Parameter | Type | Required | Description |
---|---|---|---|
api_key |
string | Yes | The API key obtained from Popin. |
type |
string | Yes | The trigger type to subscribe to. |
hookUrl |
string | Yes | The webhook URL provided by Zapier. |
Success Response (200 OK)
{
"message": "Webhook received"
}
Failure Response (400 Bad Request)
{ "message": "Webhook failed"
}
If you encounter any issues, please contact Popin Support at support@popin.to.