# Webhooks

Webhooks allow you to integrate your Spot with your external tools (CRM, Slack, calendar...). With this feature, you can set up many automation scenarios like sending a Slack notification when a live starts, adding new members' information to a Google sheet, sending forum topics to your support desk, etc.

## Add a Webhook&#x20;

1. Click on `Manage my Spot`&#x20;
2. Go to the Webhooks page in your Spot settings&#x20;
3. Click on `Add`&#x20;
4. Choose the event and add the URL of your choice&#x20;
5. Click on `Add`&#x20;
6. To test your Webhook, click on the `Test` button&#x20;
7. You can edit and delete your Webhooks by clicking on them&#x20;

{% embed url="<https://vimeo.com/824124658/0b0d4deede?share=copy>" %}

## The triggers we provide&#x20;

We provide the **following triggers**:&#x20;

1. **Member created**: when a member registers or when you invite a member to your Spot.
2. **Member updated**: when the status of a member on your Spot is updated.&#x20;
3. **Live Participant Created**: When a participant signs up or is invited to your Live.&#x20;
4. **Updated Live Participant**: When a Live participant's status is updated.&#x20;
5. **Updated Live**: When the status of a Live updates, i.e. when a Live starts or stops.&#x20;
6. **Registration form answers**: when a member answers the registration form. Please note! This webhook works in a slightly different way: to use it, go [here](https://help.meltingspot.io/english/how-to/how-to-use-the-webhook-registration-form-answered)!
7. **Updated document:** When the status of a document is updated, i.e. when it is published or set to draft.&#x20;
8. **Topic created in a forum:** when a topic is posted in a forum.
9. **Course participant created**: when a participant is invited to a course or enrols himself (if the course is a public one)
10. **Course participant status updated**: when the status of a course participant is updated, i.e when someone starts or completes a course.&#x20;
11. **Course step completed** : when a course participant completes a step, whether it is a text step or a Quiz one - in that case, the quiz score is sent in the event.
12. **Learning path participant created**: when a participant is invited to a learning path or enrols himself
13. **Learning path participant updated**: when the status of a learning path participant is updated, i.e when someone starts or completes a learning path.&#x20;
14. **Learning path step completed** : when a learning path participant completes a step.

<figure><img src="https://3055204660-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrzBxnWaSListMwx3rzKu%2Fuploads%2F1HWkzrvudfxJwo9z3m3C%2Fimage.png?alt=media&#x26;token=cf178619-093b-4819-936c-b0a1d521df75" alt="webhooks"><figcaption></figcaption></figure>

You can find the details of the JSON we send for these 5 triggers :&#x20;

{% embed url="<https://www.svix.com/event-types/eu/org_2NPV59YAyerirDbCUuo15rSxhdc/>" %}

{% hint style="warning" %}
Please note that the dates provided in the webhooks are in **UNIX TimeStamp** format. This format is not supported by all applications. If you'd like to change the date format, take a look [here](https://help.meltingspot.io/english/how-to/faq#modify-date-format-in-webhooks)!
{% endhint %}

## Examples of Webhook usage

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="2728">✨</span> <strong>Notify the start of a live on Slack</strong></td><td></td><td></td><td><a href="../../how-to/send-slack-message">send-slack-message</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f525">🔥</span> <strong>Create a Hubspot contact for each nex Spot registration</strong></td><td></td><td></td><td><a href="../../how-to/create-hubspot-contact">create-hubspot-contact</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4c5">📅</span> <strong>Send a google calendar invitation to new live participants</strong></td><td></td><td></td><td><a href="../../how-to/send-google-calendar-invitation">send-google-calendar-invitation</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f5d2">🗒️</span> <strong>Add new members of your Spot to a Google Sheet</strong></td><td></td><td></td><td><a href="../../how-to/add-new-members-of-your-spot-to-a-google-sheet">add-new-members-of-your-spot-to-a-google-sheet</a></td></tr></tbody></table>
