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

# Zapier

> Add Opper steps to your Zaps to send prompts, generate images, video and audio, transcribe recordings and read documents

[Zapier](https://zapier.com) connects thousands of web apps into automated workflows, called Zaps. Opper has its own [app in Zapier's directory](https://zapier.com/apps/opper/integrations): connect it once with an Opper API key, then add an Opper step to any Zap and pick any model in the [catalog](https://docs.opper.ai/capabilities/models.md).

## Setup

**1. Create an API key**

In the [Opper platform](https://platform.opper.ai/settings/api-keys), go to **Settings → API keys** and create a key. The key belongs to a project, and that project's [rules](https://docs.opper.ai/control-plane/rules/overview.md) apply to every call the Zap makes. To keep the usage and limits of different teams or workflows apart, give each its own project and key.

**2. Connect Opper in Zapier**

In the Zap editor, add an action step and search for **Opper**. Pick an action, then select **Sign in** and paste the API key. Zapier checks the key and names the connection after your organization and project.

**3. Fill in the step**

Pick a model from the **Model** dropdown, or choose **Custom** and enter any Opper model ID, such as `anthropic/claude-sonnet-5`. Map fields from earlier steps into the prompt, then select **Test step**.

## Actions

| Action | What it does | Default model |
| - | - | - |
| **Send Prompt** | Sends a prompt, with an optional system prompt, temperature and max tokens, and returns the reply | `gemini/gemma-4-31b` (free) |
| **Generate Image** | Generates an image from a text prompt, by size or aspect ratio | `fal/flux-1-schnell` |
| **Generate Video** | Generates a video clip from a text prompt, with length, resolution, aspect ratio, an optional first frame and sound | `bytedance:ap/seedance-2.0-mini` |
| **Text to Speech** | Turns text into spoken audio, with a voice, format and speed | `openai/tts-1` |
| **Transcribe Audio** | Turns speech in an audio file into text, with optional language, context and speaker labels | `groq/whisper-large-v3-turbo` |
| **Generate Music** | Generates a song or instrumental track from a text prompt | `gemini/lyria-3-clip-preview` |
| **Generate Sound Effect** | Generates a sound effect or ambience, optionally as a seamless loop | `elevenlabs/eleven_text_to_sound_v2` |
| **Extract Text From Document** | Reads a PDF or image with an OCR model and returns the text as Markdown | `mistral/mistral-ocr-4-1` |
| **Find Model** (search) | Finds models by name, ID or maker, with where each runs and what it costs | |

**Send Prompt** returns the reply as `content`, plus `finish_reason` and the token usage (`usage__prompt_tokens`, `usage__completion_tokens`) for later steps to use.

**Files:** Generate Image, Generate Video, Text to Speech, Generate Music and Generate Sound Effect return the result as a file that later steps can attach or upload, for example to Google Drive, Slack or an email. Transcribe Audio and Extract Text From Document take a file from an earlier step, or a public `https` link that Opper downloads itself.

## Running in the EU

Turn on **EU-Hosted Only** in Send Prompt and the Model dropdown lists only models that run in the EU. Before the prompt is sent, the step checks the chosen model and stops with an error unless it runs in the EU, so a Zap can't run on a model hosted elsewhere. Find Model has the same switch.

The check needs one specific route from the public catalogue. While the switch is on, a model name served by several routes is refused, and so are custom models and dynamic routes, which the check can't look up. To enforce EU hosting for everything a project runs, not just one step, set a [model access rule](https://docs.opper.ai/control-plane/rules/model-access.md). See [EU data residency](https://docs.opper.ai/control-plane/eu-data-residency.md) for what runs where.

## Time limits

Zapier stops a step after about 30 seconds, so the default models are fast ones. Keep audio recordings to a few minutes (an uploaded Audio File can be up to 25 MB), keep music clips short, and read long PDFs a few pages at a time using **Pages**.

**Generate Video** works differently because a video takes minutes. The step submits the job and the Zap waits until the video is ready, then carries on with the finished clip. If the job fails, the step fails with Opper's error, and failed jobs are not charged.

Every call is recorded in [Logs](https://docs.opper.ai/control-plane/logs.md) with its token usage and cost.

## Troubleshooting

> [accordion] The connection test fails
>
> The key is wrong or has been revoked. Create a new one under **Settings → API keys** and reconnect.

> [accordion] A step times out
>
> The model took longer than Zapier's limit of about 30 seconds. Pick a faster model, shorten the input, or for Extract Text From Document, read fewer pages per step.

> [accordion] EU-Hosted Only refuses my model
>
> The dropdown reloads when you switch EU-Hosted Only on, so pick the model again from the EU list. A model name served by several routes, a custom model or a dynamic route can't be checked and is refused while the switch is on.

> [accordion] A call is blocked by a rule
>
> The key's project has a [rule](https://docs.opper.ai/control-plane/rules/overview.md) that blocks the model or the spend. Pick another model, or change the rule in the Control Plane.

## Related

> [card] [Model access rules](https://docs.opper.ai/control-plane/rules/model-access.md)
>
> Choose which models a project's keys can call.

> [card] [All apps](https://docs.opper.ai/integrations/overview.md)
>
> Every app that runs on Opper.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.