Subject
Applies to: Admin
Purpose: Creating Webhooks
Location in Ricochet: Configuration > Posts/Webhooks
Description
The instructions in this article require Administrator permission
These instructions explain how to create a webhook in Ricochet to send data to an external URL or application. The process includes naming the webhook, setting its destination URL, choosing where it can be triggered (e.g., Lead Popup, Transfer Window, or Lead Management Page), configuring delivery options (such as POST method and single-use triggers), and defining the data to send through URI parameters or the request body. Users can include static values or dynamic lead fields, add multiple parameters, set content types like JSON, and optionally include headers. Once saved, the webhook becomes available in the chosen locations for users to trigger.
Resolution
Non-Administrators do not have the access to follow these instructions and should open a ticket.1. To create a webhook, click Configuration
2. Click Posts/Webhooks
3. Click Add Webhook
4. Click inside the Name Of Webhook area and give your webhook a name.
5. Click inside the URL Of Webhook area and type in the URL of the destination of your webhook. NOTE: You may need to consult with your 3rd party application docs on the proper URL to enter. For this example, we are using a simple site like Google.
6. Open Trigger From to choose where the webhook button appears. The list offers exactly two places, Lead popup and Lead management page, and both can be ticked.
7. Click Lead popup if you want to display the webhook button on the Lead Popup window.
8. Click Lead management page if you want to trigger the webhook from the Lead Details page of a lead.
9. Click inside the Label area to enter the label that will be displayed on the webhook button.
10. Click the Move lead to status dropdown if you want to change the leads' status when this webhook is triggered.
11. Click the Send method dropdown to choose the method of delivery to the URL above. NOTE: You may need to consult with your 3rd party application docs on the proper Send method to enter.
12. For this example, we will select post.
13. Click this checkbox if you want this webhook to be triggered only once per lead.
14. Click this checkbox if you want to open the webhook in a new tab when triggered. This is one of the settings held under Advanced Options.
15. Open the URI PARAMETERS section and click Add Parameter. URI Parameters, Body and Headers are stacked sections on this one form rather than tabs, each opened by its own Add link. Here you choose the data to send to the URL as a query string or URI parameter. NOTE: please consult your 3rd party application docs for the proper variable type to send to the application’s URL.
16. On the Data Type column, click the dropdown to display the different data types that you can choose from.
17. For this example, we will select Static
18. For Static data types, you will enter the name the 3rd party application understands in the Name area.
19. In the Value area, you'll type the static data value in this section.
20. You can add multiple parameters to your webhook. To add another, click Add Parameter.
21. Click the dropdown under the Data Type column to choose the data type you want to send.
22. For this example, we will select Lead Field
23. Click inside the Name area and enter the name the 3rd party application understands for the Lead Field you are going to send.
24. Click the dropdown for Field Name and choose your field name from Ricochet.
25. For this example, we will click First Name
26. If you have more parameters to add, click Add Parameter and repeat from the Data Type dropdown, filling in the Name, Value and field areas each time. Note that once a row is committed the table lists the field’s key, such as firstName, rather than the label you picked.
27. If you need to send data in the body of the post rather than through the URL, open the BODY section and click Add Body. NOTE: please consult your 3rd party application docs for the proper formats that they can receive.
28. Open the Content Type dropdown and choose the format of your post. This control only appears once Send method is set to POST — with the default GET the Body section holds nothing but its Add Body link. NOTE: please consult your 3rd party application docs for the proper formats that they can receive.
29. For this example, we will select application/json. NOTE: Please consult your 3rd party application docs for the proper formats that they can receive.
30. Repeat the same Name, Data Type and Value steps to add your data. If you need to add headers to your post, open the HEADERS section and click Add Header.
31. Follow steps 22 through 26 to add your data. Click Save when finished. Ask users to refresh Ricochet to see the webhook in the locations selected.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article
