Each type of email activity performed within Amplemarket can be sent via a JSON request, so you can always connect Amplemarket with any data platform you want.
On Amplemarket, there are 3 different types of email activity:
- An email sent within a sequence
- An email sent within a reply sequence
- An email received from sequence or reply sequence
Below, you can find the JSON structure for the 3 different types of email activity.
Note: This is true for both automatic and manual emails in your sequences.
Notification for an email sent within a sequence
{
from: "noreply@amplemarket.com",
to: ["noreply@amplemarket.com", "noreply@amplemarket.com"],
cc: ["noreply@amplemarket.com"],
bcc: ["noreply@amplemarket.com"],
date: "2019-12-18T18:46:11+00:00",
subject: "The subject of the message",
body: "The email message body in plaintext.",
is_reply: false,
id: "uh1lv7souka0hb24fvolk3g9l",
dynamic_fields: {
"first_name": "John",
"last_name": "Doe",
"company_name": "Amplemarket",
"company_domain": "amplemarket.com",
"company_email_domain": "amplemarket.com",
"title": "Founder & CEO",
"simplified_title": "CEO",
"email": "noreply@amplemarket.com",
"city": "San Francisco",
"state": "California",
"country": "United States",
"industry": "Computer Software"
},
sequence: {
name: "The name of the sequence",
start_date: "2019-12-18T18:46:11+00:00",
end_date: "2019-12-18T18:46:11+00:00"
},
sequence_stage: {
index: 1,
}
user: {
email: "noreply@amplemarket.com"
}
}
Notification for an email sent within a reply sequence
{
from: "noreply@amplemarket.com",
to: ["noreply@amplemarket.com", "noreply@amplemarket.com"],
cc: ["noreply@amplemarket.com"],
bcc: ["noreply@amplemarket.com"],
date: "2019-12-18T18:46:11+00:00",
subject: "The subject of the message",
body: "The email message body in plaintext.",
is_reply: false,
id: "uh1lv7souka0hb24fvolk3g9l",
dynamic_fields: {
"first_name": "John",
"last_name": "Doe",
"company_name": "Amplemarket"
},
reply_sequence: {
name: "The name of the reply sequence",
start_date: "2019-12-18T18:46:11+00:00",
end_date: "2019-12-18T18:46:11+00:00"
},
reply_sequence_stage: {
index: 1,
}
user: {
email: "noreply@amplemarket.com"
}
}
Notification for an email received from a prospect in your sequences
{
from: "noreply@amplemarket.com",
to: ["noreply@amplemarket.com", "noreply@amplemarket.com"],
cc: ["noreply@amplemarket.com"],
bcc: ["noreply@amplemarket.com"],
date: "2019-12-18T18:46:11+00:00",
subject: "Re: The subject of the message",
body: "The reply email message body in plaintext.",
is_reply: true,
id: "uh1lv7souka0hb24fvolk3g9r",
labels: ["Interested"],
dynamic_fields: {
"first_name": "John",
"last_name": "Doe",
"company_name": "Amplemarket",
"company_domain": "amplemarket.com",
"company_email_domain": "amplemarket.com",
"title": "Founder & CEO",
"simplified_title": "CEO",
"email": "noreply@amplemarket.com",
"city": "San Francisco",
"state": "California",
"country": "United States",
"industry": "Computer Software"
},
sequence: {
name: "The name of the sequence",
start_date: "2019-12-18T18:46:11+00:00",
end_date: "2019-12-18T18:46:11+00:00"
},
sequence_stage: {
index: 1,
}
user: {
email: "noreply@amplemarket.com"
}
}
Note: If the reply comes from a reply sequence, the fields labels
, sequence
, and sequence_stage
will be substituted by the fields reply_sequence
and reply_sequence_stage
.
Comments
0 comments
Please sign in to leave a comment.