SOLVED

Webhooks and Tokens

Subscribe
Go to solution
Anonymous
Not applicable

Webhooks and Tokens

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"

                           ]

}

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Webhooks and Tokens

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

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Webhooks and Tokens

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