Webhooks are useful for sending information from Amplemarket to other systems you may use. In this article you can see the fields that we currently send on some of our Webhooks.
Send JSON to endpoint (Workflows)
This webhook will send a POST request with the following JSON fields:
{
"email_message": {
"id": "47f5d8c2-aa96-42ac-a6f0-6507e78b8b9b",
"from": "\"Sender\" <noreply@amplemarket.com>",
"to": "\"Recipient 1\" <noreply@amplemarket.com>,\"Recipient 2\" <noreply@amplemarket.com>, ",
"cc": "\"Carbon Copy\" <noreply@amplemarket.com>",
"bcc": "\"Blind Carbon Copy\" <noreply@amplemarket.com>",
"subject": "The subject of the message",
"snippet": "A short snippet of the email message.",
"last_message": "A processed version of the message (without salutation and signature).",
"body": "The original email message body.",
"tag": [
"asked_to_circle_back_later"
],
"date": "2019-11-27T12:37:46+00:00"
},
"sequence_stage": {
"index": 3,
"sending_date": "2019-11-27T07:37:46Z"
},
"sequence": {
"key": "b7ff348ea1a061e39cbe703880048d64171d8487",
"name": "The name of the sequence",
"start_date": "2019-11-24T12:37:46Z"
},
"user": {
"email": "test@amplemarket.com"
}
"lead": {
"email": "noreply@amplemarket.com", "first_name": "John", "last_name": "Doe", "company_name": "Company", "company_domain": "company.com"
}
"additional_info": { ... }
}
"aditional_information" may have different data according to the tag:
ooo
{
"return_date": "2023-01-01"
}
{
"follow_up_date": "2023-01-01"
}
{
"third_party_email": "noreply@amplemarket.com",
"third_party_first_name": "John",
"third_party_last_name": "Doe",
"third_party_company_name": "Company",
"third_party_company_domain": "company.com"
}
Note on "not_the_right_person" Tag:
In scenarios where the "not_the_right_person" tag is used, it's important to note that the third-party information sent refers to the details of the originally contacted person.
Meanwhile, the lead details will now be updated to reflect the newly-referred person who is considered a more appropriate contact for the ongoing sales process.
Send JSON to endpoint (Inbound Workflows)
This webhook will send a POST request with the following JSON fields:
{
"lead": {
"email": "noreply@amplemarket.com",
"first_name": "Noreply",
"company_name": "amplemarket"
},
"user": {
"email": "test@amplemarket.com"
}
}