Question

Using Zapier Webhooks w/ Engage Voice "JWT Missing"

  • 8 September 2021
  • 2 replies
  • 448 views

Hello,
I have done a few webhooks before but never in this format. I need a simple explanation on crafting a post request as seen below to our Engage Voice Account.

What need to happen: A contact comes in from an outside source like LinkedIn or Facebook, and I need to route it to a campaign and a group within that campaign.

I tested a POST URL like this:
https://engage.ringcentral.com/voice/api/v1/admin/accounts/15300002/campaigns/250805/groups/208297
And loaded in a few test field as seen below. I got a "JWT is missing" error and I'm not sure where i went wrong. I read some documentation but I'm not sure how to translate the developer stuff over to the Zapier format seen below.

Any help on what I'm missing would be greatly appreciated.
screen-shot-2021-09-08-at-35908-pm.png


2 replies

I think if you can check with Zapier technical support team once, they can help you to resolve with this format

It sounds like you want a Web2Campaign solution. The error you are getting is because you have not established a token yet for Engage so Engage is rejecting your request. You first need to authenticate to Engage, get an access token (JWT) and then pass that token in with your request.

Your request also looks incorrect. Since this is a new lead, I would use the lead loader to load a lead into an existing campaign. Campaigns are grouped into Dial Groups. Specifying campaign first and then group does not look right. I would just use the lead loader API here which only requires the campaign you wish to load your lead into: https://developers.ringcentral.com/engage/voice/guide/dialing/leads/bulk-import

For more examples on how to load leads into campaigns, try out the Web2Campaign blog here: https://medium.com/ringcentral-developers/ringcentral-with-automated-web2campaign-7540990ac0a9

Reply