> For the complete documentation index, see [llms.txt](https://setka.gitbook.io/help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://setka.gitbook.io/help-center/integrations/setka-and-zapier/setka-and-webflow/updating-exported-posts.md).

# 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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MR2IaTosjxop_fSrByl%2F-MR2JfPSCywcbJz9QNkr%2FMake-Zap-Setka.png?alt=media\&token=eb0f4e31-5305-470d-90b8-4d90815bd905)

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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MWZxk9iKcpzFwSIEddS%2F-MWZz0hwcM_-GGLuJFid%2FScreenshot-Zapier-Select-App-Event.png?alt=media\&token=949e1bd5-534b-404f-a443-52f89b59e739)

## 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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MW_jNhvW5lG57pPYQ0z%2F-MWdr7E5RMC-n-u5uiP4%2FScreenshot-Zapier-Interface-New-Zap-Update-Post.png?alt=media\&token=95fb2984-2c03-4377-beb4-0448e2b6aea2)

## 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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MRonBWqdSW_tIGQo7WU%2F-MRopuMI79eLApMcBSk2%2FScreenshot%20of%20Zapier%20Interface%20Choose%20Account.png?alt=media\&token=30555343-22ca-4807-a935-b8415818173e)

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="https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MWYrey44K2VunGR9WX1%2F-MWYvFECclEpLh5NpHDc%2FScreenshot-Setka-Account-Post-API-Key.png?alt=media&amp;token=f6d0a4bc-14b5-4f80-a438-7499bbf577a8" 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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MWdrr1t-GZAeNaLGXla%2F-MWdsXAuF6fZs88-rJ4S%2FScreenshot-Zapier-Select-Setka-Account-Update-Post.png?alt=media\&token=219135b9-ceaa-4f4c-a468-f8b5511b4523)

## 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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-M_VuNTHptQKA_1bJ9qx%2F-M_aKR-Wf4yYXv2Dkho-%2FScreenshot-Setka-Editor-Update-Post.png?alt=media\&token=3645283e-0007-4589-a3bf-05816f02a62d)

## 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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MRonBWqdSW_tIGQo7WU%2F-MRoqTyPu3uGymDylzzY%2FScreenshot%20Zapier%20Interface%20Actions%20Webflow.png?alt=media\&token=4a5c946f-a53e-4d55-b30f-649cf4e4a5d7)

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

![Screenshot of Zapier Interface: updating item in Webflow](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MWdyUWWldfZDm0IRYX_%2F-MWdyu7J1WqfG96DoJH1%2FScreenshot-Zapier-Interface-Webflow-Update-Item.png?alt=media\&token=6020f3cd-2f3c-430f-a009-fd5ac711e250)

## 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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MRonBWqdSW_tIGQo7WU%2F-MRoqikLYFnlQIL6gZLz%2FScreenshot%20Zapier%20Interface%20Request%20for%20Permission%20Webflow.png?alt=media\&token=bef614fa-466f-4dd4-ab30-b2e5b6929699)

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>
```

![](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MWdz0LTyWftRpRHg7Mz%2F-MWe--M0ZS1K1aZEoo8D%2FScreenshot-Zapier-Webflow-Update-Post-Data-Markup-1.png?alt=media\&token=fb7981a0-bc27-4384-a929-b1d4d14d1761)

![Screenshots of Zapier interface: marking up the data](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MWdz0LTyWftRpRHg7Mz%2F-MWe-3hAh4-fORLPrSN8%2FScreenshot-Zapier-Webflow-Update-Post-Data-Markup-2.png?alt=media\&token=619543bc-adf7-4c3b-b8ea-a1017c51a616)

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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MWdz0LTyWftRpRHg7Mz%2F-MWe026uSys3MJrRWIsq%2FScreenshot-Zapier-Interface-Update-Setka-Webflow-Activate.png?alt=media\&token=f34ed14b-231f-4cee-91bd-411f8ce52547)

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](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MRonBWqdSW_tIGQo7WU%2F-MRoripQYOKhAwOIjxeE%2FScreenshot%20Zapier%20Interface%20Run%20Export.png?alt=media\&token=c41c9660-95cf-4d54-94c1-1ec1142249be)
