> For the complete documentation index, see [llms.txt](https://docs.trendswap.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trendswap.app/integrations/zapier.md).

# zapier

TrendSwap connects seamlessly with **Zapier** ([zapier.com/apps/trendswap](https://zapier.com/apps)), enabling automated content production pipelines across over 6,000+ business and social applications.

***

## Popular Automation Use Cases

{% stepper %}
{% step %}

## Google Drive / Dropbox New File Trigger

Drop a new portrait photo into a designated cloud folder -> Automatically generate a viral *Burning Bridges* video -> Save the output MP4 to a social staging folder.
{% endstep %}

{% step %}

## Social Media Scheduler Auto-Post

Generate video via TrendSwap -> Send directly to Buffer, Hootsuite, or Metricool for scheduled TikTok and Instagram publishing.
{% endstep %}

{% step %}

## Shopify / Stripe Customer Celebration

When a VIP customer makes a purchase -> Generate a custom celebratory video featuring the founder or mascot -> Email video link automatically.
{% endstep %}
{% endstepper %}

***

## Zapier Action: `Create Video Recast`

| Parameter               | Type       | Required? | Description                                                   |
| ----------------------- | ---------- | --------- | ------------------------------------------------------------- |
| **API Key**             | String     | Yes       | Your private API key from `trendswap.app/settings/apikeys`.   |
| **Template**            | Dropdown   | Yes       | Choose from the 10 active viral templates.                    |
| **Portrait File / URL** | File / URL | Yes       | Public image file URL or file payload from previous Zap step. |
| **Resolution**          | Dropdown   | No        | `480p`, `720p`, or `1080p` (defaults to `480p`).              |
| **Framing**             | Dropdown   | No        | `9:16 Vertical` or `16:9 Widescreen`.                         |

***

## Step-by-Step Setup in Zapier

{% stepper %}
{% step %}

## Add the TrendSwap action

In your Zapier editor, add an action step and search for **TrendSwap**.
{% endstep %}

{% step %}

## Select the action

Select the **Create Video Recast** action.
{% endstep %}

{% step %}

## Connect your account

Connect your TrendSwap account using your API key.
{% endstep %}

{% step %}

## Map the image

Map the image output from your trigger step (e.g. Typeform upload, Airtable record, or Google Drive photo).
{% endstep %}

{% step %}

## Test the step

Test the step to verify generation and retrieve your output MP4 URL!
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.trendswap.app/integrations/zapier.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
