Webhooks and Tokens | Community
Skip to main content
June 20, 2017
Solved

Webhooks and Tokens

  • June 20, 2017
  • 1 reply
  • 1807 views

Hi, we are about to start using webhooks to automate our leads through our ms dynamics crm. I am wanting to change variable like task subtype, tasktype etc, without creating a separate webhook for each type. How can I token in those things? Is that possible? Thanks!
Our webhook looks like this:

{

"FirstName": {{lead.First Name}},

"LastName": {{lead.Last Name}},

"EmailAddress": {{lead.Email Address}},

"PhoneNumber": {{lead.Phone Number}},

“Primary IMO”: {{lead.Primary IMO}},

"ContactID": {{lead.Contact}},

"SourceEnvironment":"prod",

"TargetEnvironment":"hub",

"TaskPriority":"Normal",

"TaskDueDate":"+2 Business Day",

"CampaignName": {{campaign.name}},

"CampaignID":{{campaign.id}},

"NewContactOwner":"RoundRobin",

"TaskType":"Annuity",

"TaskSubtype":"quote",

"TaskDescription": [

                             "FirstName",

                             "LastName",

                             "EmailAddress",

                             "PhoneNumber",

                            “PrimaryIMO”,

                              "CampaignName"

                           ]

}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

You can use Program-level {{my.tokens}} in the payload.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
June 20, 2017

You can use Program-level {{my.tokens}} in the payload.