# Setting up the action in your first zap (generate 1 creative)

There are 2 types of actions you can trigger from Zapier:&#x20;

* Generating a variation based on a design template
* Generating multiple size variations based on a template set

### Generate a variation of a design based on a template

You can use this action to generate a creative variant from your team's pre-created designs or templates. That means you will automatically create a new design based on an existing template in your team by changing certain elements in the initial design.&#x20;

After setting an initial trigger and authenticating to use the app, you must go through each step and fill in all the required fields.&#x20;

<figure><img src="/files/s80jaZPbEZGFKqT702mY" alt=""><figcaption></figcaption></figure>

* **The template hash field** is where you'll find listed all your designs from The Brief. You have to select the design you want to use as a template to generate new creatives.&#x20;

{% hint style="info" %}
You'll see listed in Zapier all the designs you have access to. If you want to use one of the The Brief templates, duplicate it into one of your folders.&#x20;
{% endhint %}

* **The type of export field** refers to the kind of file you want to receive at the end once the creatives are generated. You can now select JPG, PNG, GIF, animated GIF, and MP4. We'll expand this list soon.&#x20;
* **The zap webhook URL field** sets a trigger for the following action. We'll explain these triggers in detail in the next steps. They allow you to automate what to do with the generated creatives: you can send them to your email inbox or cloud storage.&#x20;

  Choose **Zap Webhook URL** if you know how to use webhooks and you want more freedom; otherwise, choose **Creative generated trigger**.&#x20;

After you select the template you want to use, all the elements in the template will be listed as fields you can fill in. These are the details of your new design - so fill in the fields with the details you want to include in your new creative. You can pull these details from a spreadsheet or another app, depending on where you store them. So, map the fields to the correct source of information.&#x20;

<figure><img src="/files/rfgiHO0KfnMa1p2jrvO5" alt=""><figcaption></figcaption></figure>

Once you're done setting up the fields, you can test the action and verify if it all worked well through the message you receive. You'll receive a success message in Zapier if it works well. You can also check the details of every action and trigger on the Zap history page.&#x20;

Next, we'll look at how you can automatically generate multiple sizes variations of a design/template.


---

# 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://docs.thebrief.ai/zapier-integration/setting-up-zapier-with-the-brief/setting-up-the-first-zap/setting-up-the-action-in-your-first-zap-generate-1-creative.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.
