> For the complete documentation index, see [llms.txt](https://docs.countercyclical.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.countercyclical.io/data-sources/zapier.md).

# Zapier

Connect Countercyclical to Zapier to create Investments or start workflows when an Investment is created.

<figure><img src="https://3856051622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuoSbSJEvJXClIRJg7TCt%2Fuploads%2FFIQeeOEO2Wpipfh8Axvd%2FZapier%20Banner.png?alt=media&amp;token=457d6a9b-d138-4f86-84f5-f81c940fdaee" alt=""><figcaption><p>Zapier &#x26; Countercyclical</p></figcaption></figure>

Use Zapier to connect Countercyclical to the other apps in your research process. A Zap starts with a trigger and performs one or more actions. Countercyclical can start a Zap when an Investment is created or create an Investment as a step in a Zap that starts in another app.

#### Connecting Zapier

1. In Countercyclical, switch to the intended workspace and open [**Settings › Workspace › Workflows**](https://dashboard.countercyclical.io/settings/workspace/workflows). Under \*\*Workspace Integrations\*\*, choose \*\*Zapier\*\*.
2. In the Zapier integration dialog, select **Generate API Key**. Copy the key into the Zapier connection prompt when asked.
3. In Zapier, create a Zap and choose **Countercyclical** as the trigger or action app. Select the event and connect the Countercyclical account using the generated key.
4. Test the trigger or action, check the sample data and field mapping, and publish the Zap in Zapier when it is ready.

#### Available Data

| Zap Step                     | What It Does                                                      | What to Configure                                                                                                                             |
| ---------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| **New Investment** trigger   | Starts a Zap when a new Investment is detected in your workspace. | Select the Countercyclical connection and test the trigger with a recent Investment. Zapier checks for new Investments on a polling schedule. |
| **Create Investment** action | Creates an Investment in the connected Countercyclical workspace. | Map the upstream ticker to **Ticker Symbol**, which is required. Confirm that the test creates the expected Investment.                       |

{% hint style="warning" %}
**Test Action Side Effects**

A successful test of Create Investment writes to the connected workspace. Use an approved sample ticker and check the target workspace before testing.
{% endhint %}

See [Countercyclical on Zapier](https://zapier.com/apps/countercyclical/integrations) for the current event catalog and available templates.

#### Access and Connection Management

The generated key connects Zapier to the selected workspace. If the Zapier integration is unavailable, ask a workspace admin to check permissions and workflow availability. Keep the key in the Zapier connection and share only the fields that the receiving app needs.

Turn Zaps on or off and review individual runs in Zapier. If an action fails, check the connected workspace, the ticker mapped by the trigger, and the error shown in Zap history.

{% hint style="info" %}
**After Rotating the Key**

Reconnect Countercyclical in Zapier and retest the Zaps that use that connection. Until the connection is updated, those Zaps may fail to authenticate.
{% endhint %}

#### Related Pages

{% content-ref url="/pages/BWiuyPjGgOWuzycyr832" %}
[Workflows](https://docs.countercyclical.io/workspace-settings/workflows.md)
{% endcontent-ref %}

{% content-ref url="/pages/2u2lr9WbNZnJhcVldsIl" %}
[Connecting & Managing Data Sources](https://docs.countercyclical.io/data-sources/connecting-and-managing-data-sources.md)
{% endcontent-ref %}

{% content-ref url="/pages/2EZQa4XjwUnjvYkFI6Gu" %}
[Zapier](https://docs.countercyclical.io/developers/integration-endpoints/zapier.md)
{% endcontent-ref %}

{% content-ref url="/pages/WayERz3yGWac0t09JJuk" %}
[Webhooks](https://docs.countercyclical.io/developers/webhooks.md)
{% endcontent-ref %}
