# Updating exported posts

To automatically update posts that were changed on your Setka account, you need to create a new Zap and set Setka as a trigger and Webflow as an action.

{% hint style="warning" %}
To update posts automatically, [set up the export](/help-center/integrations/setka-and-zapier/setka-and-webflow/exporting-new-posts.md) first. Make sure, [post IDs are gathered](/help-center/integrations/setka-and-zapier/setka-and-webflow/exporting-new-posts.md#step-8-gather-the-webfow-post-id-optional).
{% endhint %}

## 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 **Update Post** in the **Trigger Event** list and click **Continue**. This script will work once you update a post in your Setka account.

![Screenshot of Zapier Interface: selecting the trigger event](/files/-MWdr7E5RMC-n-u5uiP4)

## 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.

![Screenshot of Zapier interface: selecting the Setka account](/files/-MWdsXAuF6fZs88-rJ4S)

## Step 4. Test the trigger

To test the trigger, try to update a post in your [Setka account](https://editor-help.setka.io/hc/en-us/articles/editor.setka.io).

In prior to updating the post, [publish it](/help-center/integrations/setka-and-zapier.md#publishing), make some changes and save them by clicking the **Save draft** button.

Then, to update the post, click the **Republish** button on the post editor page:

![Screenshot of the Setka Editor interface: updating the post](/files/-M_aKR-Wf4yYXv2Dkho-)

## 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: Webflow in App Event dropdown](/files/-MRoqTyPu3uGymDylzzY)

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

![Screenshot of Zapier Interface: updating item in Webflow](/files/-MWdyu7J1WqfG96DoJH1)

## 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.

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\. **External ID** data for the **Item** field.

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

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

4\. 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>
```

![](/files/-MWe--M0ZS1K1aZEoo8D)

![Screenshots of Zapier interface: marking up the data](/files/-MWe-3hAh4-fORLPrSN8)

4\. If you want to save updated posts in CMS Collection as drafts, 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 updates in Webflow. Please note that by clicking **Test & Continue**, a post will be updated in accordance with edits from your Setka account.

Click **Skip Test** to pass testing.

## Step 8. Activate the Zap

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

![Screenshot of Zapier interface: activating the zap](/files/-MWe026uSys3MJrRWIsq)

Now your Setka posts will update automatically in Webflow after saving them 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/updating-exported-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.
