# Zapier & Webhooks

Threadly supports bidirectional automation via Zapier and raw HTTP webhooks, letting you connect to thousands of external apps without code.

Requires **Premium**. The Zapier integration also requires a feature flag — contact <support@trythreadly.com> to enable it.

***

## Inbound webhooks — trigger Threadly from external systems

Every Threadly workflow with the **Threadly Inbound Webhook** trigger exposes a unique URL. POST to that URL to fire the workflow from any external system.

### Setup

1. Create a [Workflow](/threadly/workflows/creating-your-first-workflow.md) and select **Threadly Inbound Webhook** as the trigger.
2. Copy the webhook URL shown in the trigger settings.
3. Configure your external system to POST to that URL.

### Passing data in the request body

Include a JSON body to pass dynamic values into the workflow:

```json
{
  "channel_id": "C012AB3CD",
  "user_id": "U098GHI765",
  "variables": {
    "customer_name": "Acme Corp",
    "renewal_date": "2026-06-01"
  }
}
```

These values are available as template variables in your workflow steps.

***

## Outbound webhooks — send data to external systems

Use the **Send a Webhook** step inside a Workflow to POST data outbound when something happens in Threadly.

**Example:** A user submits a Threadly form → a workflow fires → Threadly POSTs the form data to your internal API or CRM.

See [Workflow Steps](/threadly/workflows/workflow-steps.md) for full configuration details.

***

## Zapier integration

### Trigger Threadly from a Zap

1. In Zapier, set up any trigger app (e.g. "New row in Google Sheets").
2. Add a **Webhooks by Zapier** action step.
3. Paste the Threadly inbound webhook URL as the POST destination.
4. Map the fields you want to send.

### Trigger a Zap from Threadly

1. In Zapier, create a new Zap with **Webhooks by Zapier** as the trigger (Catch Hook).
2. Copy the Zapier-generated webhook URL.
3. In Threadly, add a **Send to Zapier** step in your workflow.
4. Paste the Zapier URL in the step configuration.

When the Threadly workflow runs, it fires the Zapier hook and kicks off the rest of your Zap.

***

## Common use cases

| Trigger                      | What Threadly does                                      |
| ---------------------------- | ------------------------------------------------------- |
| Deal closes in HubSpot       | Send a congrats message to the customer’s Slack channel |
| New row in Google Sheets     | Broadcast an update to a specific channel group         |
| Trial expires (your backend) | Send a re-engagement message via inbound webhook        |
| Threadly form submitted      | Create a row in Airtable or a HubSpot ticket via Zapier |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://threadly.gitbook.io/threadly/integrations/zapier.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
