question

Tanner Stolte avatar image
Tanner Stolte asked Craig Chan answered

Using Zapier Webhooks w/ Engage Voice "JWT Missing"

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

engage voice
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban avatar image
Anirban answered

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

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Craig Chan avatar image
Craig Chan answered

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

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys