# Exporting new posts

To automatically export posts from your Setka account, you need to create a new Zap and set Setka as a trigger and Webflow as an action. [Gather the Webflow post ID](/help-center/integrations/setka-and-zapier/setka-and-webflow/exporting-new-posts.md#step-9-gather-the-webfow-post-id-optional) afterward, if automatic post updates are needed.

## Step 1: Create a new Zap

1\. Open your Zapier account and click **Make a Zap** in a left-hand corner;

![Screenshot of Zapier interface: Arrow pointing at "Make a Zap" button](/files/-MR2JfPSCywcbJz9QNkr)

2\. Find **Setka** in the list of available apps and set it as a trigger:

![Screenshot of Zapier Interface: Searching for Setka app to set it as a trigger](/files/-MWZz0hwcM_-GGLuJFid)

## Step 2. Choose a trigger event

Find **New Post (REST Hook)** in the **Trigger Event** list and click **Continue**. This script will work once you publish a new post in your Setka account.

![Screenshot of Zapier interface: "New Post (REST Hook)" is selected as a trigger event](/files/-MWZxTFy0Ui6zNOypdy1)

## Step 3. Connect Setka account

{% hint style="success" %}
If you have already connected your [account](/help-center/account-settings/untitled.md), skip the connection steps. Just select the account from **Choose the account...** dropdown list, as described further.
{% endhint %}

Click **Sign in to Setka** and enter your license key in the appeared window:

![Screenshot of Zapier interface: "Sign in to Setka" button](/files/-MRopuMI79eLApMcBSk2)

The license key can be found in an **Integrations > Integration via Post API** section in your [Setka account](https://editor-help.setka.io/hc/en-us/articles/editor.setka.io).

<div align="center"><img src="/files/-MWYvFECclEpLh5NpHDc" alt="Screenshot of Setka interface: Post API integration and a license key"></div>

{% hint style="info" %}
[Add the Post API integration](/help-center/integrations/setka-and-zapier.md#step-1-add-the-setka-posts-integration) if you don't see one on the page.
{% endhint %}

Choose the added account from the appeared list and click **Continue** to go to the next step.&#x20;

![Screesnhot of Zapier interface: Choosing Setka account in the dropdown](/files/-MR2Ka7gDzeab7tJnger)

## Step 4. Test the trigger

To test the trigger, try to publish a post in your [Setka account](https://editor-help.setka.io/hc/en-us/articles/editor.setka.io). To do that, click **Publish** on the post's badge. After that, click the **Test trigger** button in the Zapier interface and check the data received.

![Screenshot of Setka editor interface: "Publish" button on a post badge](/files/-MR2L4iqYvnAqYGva-cG)

## Step 5. Add an action

1\. Find **Webflow** in the **Action** block with the help of a search field. Choose it.&#x20;

![Screenshot of Zapier Interface showing Webflow in App Event dropdown](/files/-MRoqTyPu3uGymDylzzY)

2\. Choose the **Create Item** action from the appeared **Action Event** list and click **Continue**:

![Screenshot of Zapier interface showing "Create item" highlighted in "Action Event" dropdown ](/files/-MRoqbwdKapXqoxnzPys)

## Step 6. Connect Webflow account

{% hint style="success" %}
Skip this step if you have already connected the account.
{% endhint %}

1\. Click **Sign in to Webflow** and insert login data. Skip this step if you have already connected the account.

2\. Note the websites where you are planning to publish your Setka posts with a checkmark and click **Authorize Application**:&#x20;

![Screenshot of Zapier interface: "Request for Permission" section with checkboxes to authorize application for websites](/files/-MRoqikLYFnlQIL6gZLz)

3\. Choose the connected account from an appeared **Webflow account: (required)** list and click **Continue**.

## Step 7. Mark out the data for Webflow

Settings will lead you to a **Setup action** block. From an appeared **Blog** code block, choose the Webflow website where your Setka posts will be exported. Choose the needed CMS Collection from a **Collection** list.

Then replace Webflow post fields with Setka post data. Set the following:

1\. **Title** data for a post's title field (if available).

2\. **Author Name** data for a field that contains the author's name (if available).

3\. Replace the field with a full version of a post with the data according to this template:

```
<div class="w-embed w-script">
[Body HTML]
<link rel="stylesheet" media="all" href="[Assets Styles Common CSS]" />
<link rel="stylesheet" media="all" href="[Assets Styles Layouts CSS]" />
<link rel="stylesheet" media="all" href="[Assets Styles Themes CSS]" />
<script src="[Assets Plugins]"></script>
</div>
```

![Screenshot of Zapier interface: Set up action fields (Site, Collection, Overview, Full Details) ](/files/-MRorPx8nYxlNJdCWDHT)

![Screenshot of Zapier interface: Set up action fields (Author, Name, Slug, Archived, Draft) and "Continue" button) ](/files/-MRos-VO2w2_XrK8b6yY)

4\. If you want to save exported posts in CMS Collection as a draft, choose **False** in a **Draft** field. If you want to publish your posts instantly, choose **True.** The same for an **Archived** field: choose **True** to draft the post or click **False** to save it as published.

Save changes by clicking **Continue**.

5\. After that, you will be offered to test publishing in Webflow. Please note that by clicking **Test & Continue**, a post will be exported to Webflow right from your Setka account.

{% hint style="danger" %}
Testing is necessary if automatic post updates are needed.
{% endhint %}

Click **Skip Test** to pass testing.

## Step 8. Gather the Webfow post ID (optional)

{% hint style="success" %}
Skip this step if automatic updates are not needed.
{% endhint %}

{% hint style="warning" %}
From this point your zap becomes [multi-step](https://zapier.com/learn/getting-started-guide/multi-step-zaps/). Multi-step zaps are not available for the Zapier Free tier. Learn more on the [Zapier official site](https://zapier.com/app/billing/plans).
{% endhint %}

1\. Click the **+** button at the very bottom of the screen to add a new step:

![Screenshot of Zapier interface: adding new step ](/files/-MW_8q-TMWHQSoZ40GBf)

2\. Find **Setka** in the list of apps and select it:

![Screenshot of Zapier interface: app events](/files/-MW_9hOwAazqVHk-tfOk)

3\. Select **Update CMS ID** in the **Action Event** dropdown and click **Continue**:

![Screenshot of Zapier interface: choosing the action event](/files/-MW_AIgGCmoqJ3z7DONa)

4\. Choose your Setka account from the corresponding dropdown and click **Continue**. The account should be the same as in [step 3](/help-center/integrations/setka-and-zapier/setka-and-webflow/exporting-new-posts.md#step-3-connect-setka-account).

5\. Set up action:

* Choose **ID** from **New Post (REST Hook) in Setka** in the **Setka Cloud Post ID** dropdown.
* Choose **ID** from **Create Item in Webflow** in the **CMS Post ID** dropdown.

{% hint style="info" %}
If you don't see the corresponding items in dropdown lists, make sure you've tested your zap on the [previous step](/help-center/integrations/setka-and-zapier/setka-and-webflow/exporting-new-posts.md#step-7-mark-out-the-data-for-webflow).
{% endhint %}

![Screenshot of Zapier interface: setting up the action](/files/-MW_XhDzG91rZ1DUpBMU)

6\. Click **Continue**, then **Test & Continue** or skip the test if you are sure it is not needed. From now on, each Webflow post that was exported via Zapier will be connected with the corresponding post in your Setka account, via post ID.

## Step 9. Activate the Zap

The setting is done. You can activate posting with the help of a switch box in the upper right-hand corner:

![Screenshot of Zapier interface: On/Off toggle to active a zap with Webflow](/files/-MRorcPIuPsgysPoR3va)

Now your Setka posts will export automatically to Webflow after clicking **Publish** in your Setka account. To run the export manually, click **Run** in a **Zaps** menu:

![Screenshot of Zapier interface: a dropdown menu with "Run" option highlighted](/files/-MRoripQYOKhAwOIjxeE)


---

# 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://setka.gitbook.io/help-center/integrations/setka-and-zapier/setka-and-webflow/exporting-new-posts.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.
