How to use Webhooks?
Mon Jun 13 2022 07:08:27 GMT-0500 (hora estándar oriental)
How to use Webhooks
When you have several systems, it is useful that they can communicate with each other to save time in your processes.
Imagine that you have a point of sale and the whole process of prospecting, opportunity and sale is carried out in the CRM, but when the negotiation is closed, what you need is that the point of sale starts the post sale with the new customer.
Suppose you capture the sale, this is an event within the CRM, which can be reported to the point of sale using a Webhook.
What do you need?
A development or programming team that can read the API documentation. They will be able to see what is the best case for connecting the two systems.
The programmer requires a security token to make the request. You will have to go to our documentation to find the types of tokens you can use depending on the case.
As we said above, it is important that whoever makes these configurations knows how to program code.
Webhook configuration in the System menu
Your programmer should go to System > Integrations > Webhooks.
When you click on Add Webhook, you can assign a name, for example "sale". Then you have to add the event, in this example, "new sale".
The method would be Post, because the Webhook is made after the sale is captured. The URL refers to which address will be sent. Finally, Key and Value are added, which the developer can define as he likes.
Once the Webhook is created, it will appear in the list with its name, which event, the url address, the method, as well as when it has been executed and the status.
The context menu shows the last execution, the history, the configuration and the possibility of deactivating or deleting the Webhook in question.
What events can you report?
- Customer phase change
- Opportunities phase change
- Leads phase change
- Archived customer
- Customer shared
- Discarded customer
- Edited customer
- Tagged client
- Unshared client
- New client
- Reactivated client
- Reassigned client
- Quote created
- Edited sales opportunity
- New sales opportunity
- Reactivated sales opportunity
- Opportunities reassigned
- Archived Prospectus
- Prospect shared
- Prospectus discarded
- Prospectus edited
- Labeled prospectus
- Prospectus not shared
- New leaflet
- Brochure reactivated
- Reassigned prospectus
- Customer follow-up
- Opportunity follow-up
- Follow-up to prospect
- New sale