> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trysight.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Zapier Integration

> Connect Sight AI to 5,000+ apps using Zapier's powerful automation platform.

## Overview

The Zapier integration allows you to connect Sight AI to over 5,000+ apps using Zapier's "Webhooks by Zapier" trigger. When articles are published, Sight AI sends data to your Zapier webhook, which can then trigger any action in your connected apps.

## Popular Use Cases

* **Slack/Discord notifications** -- Get notified when new articles are ready
* **Project management** -- Create cards in Notion, Airtable, Trello, or Asana
* **Google Workspace** -- Add entries to Google Sheets or create Google Docs
* **Custom CMS** -- Connect to platforms not natively supported
* **Email marketing** -- Trigger newsletter drafts in Mailchimp or ConvertKit
* **Social media** -- Queue posts to Buffer or Hootsuite

## How It Works

Zapier uses webhooks to receive data from Sight AI. Here's the flow:

1. You create a Zap in Zapier with "Webhooks by Zapier" as the trigger
2. Zapier gives you a unique webhook URL
3. You add that URL to Sight AI's webhook integration
4. When articles are published, Sight AI sends data to Zapier
5. Zapier triggers your configured actions

## Setup Instructions

### Step 1: Create a Zap in Zapier

1. Log into your [Zapier account](https://zapier.com)
2. Click **"Create Zap"**
3. Search for **"Webhooks by Zapier"** as your trigger app
4. Select it as your trigger

### Step 2: Choose "Catch Hook"

1. Select **"Catch Hook"** as the event type
2. Click **Continue**
3. Zapier will generate a unique webhook URL
4. **Copy this URL** -- you'll need it in the next step

The webhook URL looks like: `https://hooks.zapier.com/hooks/catch/...`

### Step 3: Add Webhook URL to Sight AI

1. In Sight AI, go to **Integrations > Webhook**
2. Paste your Zapier webhook URL
3. Click **"Save"**

[Learn more about webhook configuration](/integrations/webhook)

### Step 4: Test the Connection

1. In Sight AI's webhook settings, click **"Send Test"**
2. This sends a sample payload to Zapier
3. Back in Zapier, click **"Test trigger"**
4. You should see the test data from Sight AI

### Step 5: Configure Your Zap Actions

1. Add action steps to your Zap (Slack message, Google Sheet row, etc.)
2. Map the article fields from Sight AI to your action
3. Test your complete Zap
4. Turn on your Zap when ready

## Available Article Data

When Zapier receives a webhook from Sight AI, these fields are available for mapping:

| Field                          | Description                                        |
| ------------------------------ | -------------------------------------------------- |
| `article.title`                | The article headline                               |
| `article.slug`                 | URL-friendly article identifier                    |
| `article.content`              | Full article HTML content                          |
| `article.summary`              | Article excerpt/summary                            |
| `article.seo_title`            | SEO-optimized title                                |
| `article.seo_meta_description` | Meta description for SEO                           |
| `article.main_image_url`       | Featured image URL                                 |
| `article.target_keyword`       | Primary SEO keyword                                |
| `article.category`             | Article category                                   |
| `article.author_name`          | Author attribution                                 |
| `site.name`                    | Your site name                                     |
| `site.host`                    | Your site domain (base domain without www)         |
| `site.canonical_host`          | Your site domain as entered (preserves www if set) |

## Trigger Modes

In Sight AI's webhook settings, you can choose when webhooks are sent:

* **Manual** (default) -- Webhooks are sent when you click "Sync to Webhook" on an article
* **Automatic** -- Webhooks are sent automatically when article generation completes

## Tips & Best Practices

### Use Zapier Filters

Add Zapier filters to only trigger actions for specific article types, categories, or keywords. This gives you fine-grained control over your automation.

### Monitor Your Zaps

Check Zapier's "Zap History" to see webhook deliveries and debug any issues. You can also view delivery logs in Sight AI's Webhook integration page.

### Build Multi-Step Zaps

Create powerful workflows by chaining multiple actions. For example:

1. Receive article from Sight AI
2. Create a draft in your CMS
3. Add a row to Google Sheets for tracking
4. Send a Slack notification to your team

## Example Zaps

### Slack Notification

Get notified in Slack when new articles are ready:

1. Trigger: Webhooks by Zapier (Catch Hook)
2. Action: Slack > Send Channel Message
3. Map `article.title` and `article.summary` to the message

### Google Sheets Tracking

Track all generated articles in a spreadsheet:

1. Trigger: Webhooks by Zapier (Catch Hook)
2. Action: Google Sheets > Create Spreadsheet Row
3. Map article fields to columns (title, keyword, category, etc.)

### Notion Database

Add articles to a Notion database for content management:

1. Trigger: Webhooks by Zapier (Catch Hook)
2. Action: Notion > Create Database Item
3. Map fields to your Notion database properties

## Troubleshooting

### Zap Not Triggering

* Make sure your Zap is turned **ON** in Zapier
* Verify the webhook URL is correctly pasted in Sight AI
* Check Sight AI's delivery logs for any errors
* Test the connection using the **"Send Test"** button

### Data Not Showing in Zapier

* Click "Test trigger" in Zapier after sending a test from Sight AI
* Make sure you're using the correct webhook URL
* Try refreshing the Zapier editor

### Actions Failing

* Check the Zap History for specific error messages
* Verify your connected apps are properly authenticated
* Ensure required fields are mapped correctly

## Next Steps

* [Configure webhook settings](/integrations/webhook)
* [Set up Autopilot for automated generation](/ai-content/autopilot)
* [Learn about article generation](/ai-content/overview)
