Skip to main content
All CollectionsHelp Guide
Using Webhooks to Trigger or Call an API
Using Webhooks to Trigger or Call an API
Lindy Drope avatar
Written by Lindy Drope
Updated over a week ago

Webhook Trigger

Lindy supports over 3,000 integrations out of the box. However, if you want Lindy to be triggered by any custom API call, you can use the Webhook Trigger.

Setup

Add the Webhook Received trigger to your Lindy:

Click Select an option and Create new.

Create a name for your webhook, hit the enter key to save and select the webhook.

If you want Lindy to reply directly to the webhook request instead of in the Lindy app, make sure to check the "Respond to request with Lindy's response" box.

Copy the webhook address for you to call then click Continue.
โ€‹
โ€‹

Information Received via Webhook

To allow Lindy to take action based on information received through a webhook, include a prompt that references the incoming data.

You can incorporate this webhook data into any parameter field in your Lindy configuration.

Make a POST Request

Make a post request to the webhook address from step 1 and see the magic happen in Lindy!

Calling any API

Lindy supports 3,000+ integrations out of the box, but if you have custom APIs you want to call, you can use the HTTP Fetch action.

Setup

Add the Fetch action:

In the action configuration, specify the Model, URL (you can also reference URL's found in prior actions / outputs), and optional parameters like Method and Body.

If you have any dynamic data you want Lindy to pass, add this as a prompt.

NOTE: Lindy currently doesn't support custom header configuration.

In the example above, Lindy is sending data to a Zapier Webhook. The body is dynamically filled in based on the user's input. After hitting Save, you can use your Lindy as usual.

As you can below, Lindy sent the haiku generated to the Zapier webhook:

Did this answer your question?