# Drip

Drip is a powerful email marketing automation platform designed for e-commerce businesses to engage customers through personalized email campaigns, tagging, and advanced segmentation. It enables businesses to automate workflows, track customer behavior, and optimize marketing efforts for better engagement and conversions.

### **How to Integrate Drip with ZBrain Flow** <a href="#how-to-integrate-drip-with-zbrain-flow" id="how-to-integrate-drip-with-zbrain-flow"></a>

1. Click the '+' button in ZBrain Flow.
2. Search for Drip in the available integrations.
3. Select any Drip action to configure it.

### **How to Create a Drip Connection in ZBrain Flow** <a href="#how-to-create-a-drip-connection-in-zbrain-flow" id="how-to-create-a-drip-connection-in-zbrain-flow"></a>

1. **Enter the Connection Name** – Provide a name to identify your Drip connection.
2. **Enter the API Key** – This key is required for authentication.

### **How to Get an API Key from Drip:** <a href="#how-to-get-an-api-key-from-drip" id="how-to-get-an-api-key-from-drip"></a>

1. Log in to your Drip account.
2. **Navigate to the User Menu:**
   * Click on your profile picture (top right corner).
   * Select User Settings from the dropdown menu.
3. **Access the API Section:**
   * In User Settings, find and click on the ‘API’ tab.
4. **Generate a New API Key:**
   * Click ‘Generate New API Token’.
   * Provide a name for your API key to help identify its purpose.
   * Click ‘Generate Token’.
5. **Copy the API Key:**

* The API key will be displayed only once. Copy and store it securely.\
  \
  3\. **Click 'Save'** – Your Drip connection is now ready for use in ZBrain Flow.

### **Actions Available in ZBrain Flow** <a href="#actions-available-in-zbrain-flow" id="actions-available-in-zbrain-flow"></a>

#### **1. Apply a Tag to a Subscriber** <a href="#id-1.-apply-a-tag-to-a-subscriber" id="id-1.-apply-a-tag-to-a-subscriber"></a>

This action assigns a specific tag to a subscriber in Drip for segmentation.

**Configuration Steps:**

* Enter the API Key.
* Select the Drip account.
* Enter the subscriber’s email.
* Enter the tag to apply.

#### **2. Add a Subscriber to a Campaign** <a href="#id-2.-add-a-subscriber-to-a-campaign" id="id-2.-add-a-subscriber-to-a-campaign"></a>

This action enrolls a subscriber into a Drip email campaign.

**Configuration Steps:**

* Enter the API Key.
* Select the Drip account.
* Enter the email series campaign.
* Enter the subscriber’s email.
* Enter the tag to apply (click '+ Add Item' to apply multiple tags).
* Add custom fields with subscriber details (click '+ Add Item' to add fields).

#### **3. Create/Update Subscriber** <a href="#id-3.-create-update-subscriber" id="id-3.-create-update-subscriber"></a>

This action creates a new Drip subscriber or updates an existing one.

**Configuration Steps:**

* Enter the API Key.
* Select the Drip account.
* Enter the subscriber’s email.
* Apply tags by clicking '+ Add Item.'
* Add custom fields by clicking '+ Add Item'.
* Provide additional details:
  * First Name
  * Last Name
  * Zip Code
  * Country
  * State
  * City
  * Phone Number
  * Address

#### **4. Custom API Call** <a href="#id-4.-custom-api-call" id="id-4.-custom-api-call"></a>

This action allows you to make a custom API request to any Drip endpoint.

**Configuration Steps:**

* Enter the API Key.
* Enter the API Endpoint URL.
* Select the HTTP Method:
  * **GET** – Retrieve data.
  * **POST** – Send data.
  * **PATCH** – Modify existing data.
  * **PUT** – Update or replace data.
  * **DELETE** – Remove data.
  * **HEAD** – Fetch headers only.
* **Add Headers** – Enter request headers in the provided input fields.
  * Authorization headers are automatically injected from your connection.
* **Add Query Parameters** – Specify query parameters to customize the API request.
* **Enter JSON Body** – Provide the request payload in JSON format.
* **Set Timeout (in seconds)** – Define the request timeout duration.

Add label


---

# 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.zbrain.ai/zbrain-documentation/zbrain-builder/flows/flow-components/drip.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.
