Creating a webhook
- Go to ifttt.com/create
Configuring the âIf Thisâ
- Click on the âIf Thisâ button in the IFTTT interface.
- Search for âWebhooksâ in the search bar.
- Choose the first option for âReceive a web request with a JSON payload.â
- Choose an Event Name that is specific to the service you plan to connect to. This will make it easier for you to manage the webhook URL. For example, if youâre connecting to Spotify, you could use âSpotifyâ as your Event Name.
- Click the âCreate Triggerâ button to save your settings and create your webhook.
Configuring the âThen Thatâ
- Tap on the âThen Thatâ button in the IFTTT interface.
- Search for the service you want to connect, such as Spotify.
- Choose an action from the service, such as âAdd track to a playlistâ.
- Configure the action by specifying the necessary details, such as the playlist name, e.g., âSongs from AIâ.
- Reference the JSON Payload received by the Webhook in your action. For the Spotify
scenario, choose
{{JsonPayload}}as your search query. - Tap the âCreate Actionâ button to save your action settings.
- Once you have finished configuring your action, click the âFinishâ button to complete the setup.
- Congratulations! You have successfully connected the Webhook to the desired service, and youâre ready to start receiving data and triggering actions đ
Finishing up
- To get your webhook URL go to ifttt.com/maker_webhooks/settings
- Copy the IFTTT key value from there. The URL is of the form maker.ifttt.com/use/YOUR_IFTTT_KEY. Grab the YOUR_IFTTT_KEY value.