The Salespeak webhook integration Allows customers to integrate with any downstream system. The webhook will be invoked if during the conversation the user gave his email. The webhook payload will contain the data necessary to create a lead and sync the conversation, user details, qualification status, and discovery questions.
To configure a webhook that will be called from Salespeak- Go to Integration page:
Payload example
The payload includes the following
{
"email": "lior@acme.com",
"name": "Lior Mechlovich",
"role": "CMO at Acme",
"is_qualified": true,
"demo_scheduled": "Yes",
"campaign_name": "Default Campaign",
"company": "Acme, Inc.",
"company_description": "Acme, Inc. is a cooking company",
"company_founding_year": 1999,
"company_size": 700,
"company_funding": "Not applicable for this company",
"company_location": "Beaverton, Oregon, United States",
"session_summary": "The user, Lior, is the CMO at Acme. He has provided his email and has shown interest in scheduling a demo.",
"discovery_questions": {
"pain_points_0": {
"answer": "Unknown",
"name": "What challenges are you currently facing with your cooking processes? We can help you with your pain points"
},
"integration_1": {
"answer": "Unknown",
"name": "Are there any specific integrations you are looking for in your cooking platform?"
},
"tools_2": {
"answer": "Unknown",
"name": "Want to learn how mycompany supports cooking tools ?"
},
"mycompany_product_3": {
"answer": "Unknown",
"name": "Are you familiar with what does mycompany do?"
},
"implementation_4": {
"answer": "Unknown",
"name": "What kind of support would you require during the implementation of a new cooking platform?"
},
"pricing_5": {
"answer": "Unknown",
"name": "What is your budget for implementing a cooking platform?"
}
},
"qualification_questions": {
"name": {
"answer": "Yes",
"details": "Lior",
"name": "Do we know the user name?"
},
"company_size": {
"answer": "Yes",
"details": "Acme is a large company with more than 500 employees",
"name": "Is the user company at least 500 employees?"
},
"region": {
"answer": "Yes",
"details": "Acme is a North American company",
"name": "is the company in north america?"
},
"email": {
"answer": "Yes",
"details": "lior@acme.com",
"name": "Do we know the user email?"
},
"company": {
"answer": "Yes",
"details": "Acme",
"name": "Do we know the user company name?"
}
}
}
Security
You can use the custom header to send a security token like x-api-token to the downstream system