Each event will send a JSON body containing specific data to that event. That information is as such:
EMAIL_OPENED:
{
from_email: <mailbox used>
to_email: <lead email>
to_name: <lead name>
time_opened: <time email was opened>
campaign_name: <name of the campaign this event belongs to>
campaign_id: <campaign id for your personal identification>
}
EMAIL_SENT:
{
from_email: <mailbox used>
to_email: <lead email>
to_name: <lead name>
time_sent: <time email was sent>
campaign_name: <name of the campaign this event belongs to>
campaign_id: <campaign id for your personal identification>
}
EMAIL_REPLIED:
{
event_type: "EMAIL_REPLY"
subject: <subject>
from_email: <mailbox used>
to_email: <lead email>
to_name: <lead name>
time_replied: <time email was replied to>
reply_body: <copy of the reply from the lead in full copy (html if there is)>
preview_text: <copy of the latest reply in plain text>
campaign_name: <name of the campaign this event belongs to>
campaign_id: <campaign id for your personal identification>
sequence_number: <the sequence number that triggered this event>
}
LINK_CLICKED:
{
from_email: <mailbox used>
to_email: <lead email>
to_name: <lead name>
time_clicked: <time link was clicked>
link_clicked: <which link was clicked>
campaign_name: <name of the campaign this event belongs to>
campaign_id: <campaign id for your personal identification>
}
LEAD_UNSUBSCRIBED:
{
lead_email: <email of lead that unsubscribed>
campaign_name: <name of the campaign this event belongs to>
campaign_id: <campaign id for your personal identification>
}
CATEGORY_UPDATED: