---
canonical_url: "https://docs.composio.dev/toolkits/rd_station_marketing"
markdown_url: "https://docs.composio.dev/toolkits/rd_station_marketing.md"
product: "platform"
version: null
last_updated: null
---

# RD Station Marketing

RD Station Marketing helps businesses manage contacts, conversion events, campaigns, automation workflows, analytics, and marketing assets.

- **Category:** marketing automation
- **Auth:** OAUTH2
- **Composio-managed OAuth available?** No
- **Tools:** 38
- **Triggers:** 0
- **Slug:** `RD_STATION_MARKETING`
- **Version:** 00000000_00

## Tools

### Add Contact Tags

**Slug:** `RD_STATION_MARKETING_ADD_CONTACT_TAGS`

Add one or more tags to an existing RD Station contact without replacing the contact's current tags.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tags` | array | Yes | Non-empty lowercase tag names to add. RD Station rejects capital letters and keeps all existing contact tags. |
| `value` | string | Yes | Contact UUID, email address, or phone number matching identifier. |
| `identifier` | string ("uuid" | "email" | "phone") | Yes | Type of contact identifier supplied in value. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Catalog Feed

**Slug:** `RD_STATION_MARKETING_CREATE_CATALOG_FEED`

Create the connected RD Station account's catalog feed. RD Station allows only one catalog feed per account; delete the existing feed before creating another.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | URL from which RD Station will import the catalog feed. |
| `name` | string | Yes | Human-readable name for the catalog feed. |
| `format` | string ("xml" | "json" | "google_shopping") | Yes | Catalog format: xml, json, or google_shopping. |
| `password` | string | No | Optional write-only password used to access a protected catalog feed URL. |
| `username` | string | No | Optional write-only username used to access a protected catalog feed URL. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Contact

**Slug:** `RD_STATION_MARKETING_CREATE_CONTACT`

Create an RD Station contact without recording a conversion event; provide at least an email address or phone number.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `contact` | object | Yes | Documented identity, profile, tag, and legal-basis fields for the contact. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Contact Field

**Slug:** `RD_STATION_MARKETING_CREATE_CONTACT_FIELD`

Create a custom contact field in the connected RD Station account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | object | Yes | Field name using the provider-required pt-BR locale key. |
| `label` | object | Yes | Field label using the provider-required pt-BR locale key. |
| `data_type` | string ("STRING" | "INTEGER" | "BOOLEAN" | "STRING[]") | Yes | Stored value type for the custom contact field. |
| `api_identifier` | string | Yes | Unique API identifier beginning with `cf_`, followed only by lowercase letters, digits, or underscores, with at most 64 characters total. |
| `validation_rules` | object | No | Optional restrictions applied to values stored in the field. |
| `presentation_type` | string ("TEXT_INPUT" | "EMAIL_INPUT" | "COMBO_BOX" | "URL_INPUT" | "TEXT_AREA" | "RADIO_BUTTON" | "PHONE_INPUT" | "NUMBER_INPUT" | "CHECK_BOX" | "MULTIPLE_CHOICE") | Yes | RD Station control used to present and edit the field. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Webhook Subscription

**Slug:** `RD_STATION_MARKETING_CREATE_WEBHOOK_SUBSCRIPTION`

Create an RD Station webhook subscription using its complete delivery definition.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | HTTP(S) webhook delivery URL, at most 255 characters. |
| `event_type` | string ("WEBHOOK.CONVERTED" | "WEBHOOK.MARKED_OPPORTUNITY" | "crm_deal_created" | "crm_deal_updated" | "crm_deal_deleted") | Yes | Event that causes RD Station to deliver the webhook. |
| `entity_type` | string | Yes | Entity included in webhook deliveries; RD Station accepts CONTACT. |
| `http_method` | string | Yes | HTTP method for webhook deliveries; RD Station accepts POST. |
| `event_identifiers` | array | No | Optional conversion identifiers, valid only for WEBHOOK.CONVERTED. |
| `include_relations` | array | No | Optional related data to include: COMPANY and/or CONTACT_FUNNEL. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Catalog Feed

**Slug:** `RD_STATION_MARKETING_DELETE_CATALOG_FEED`

Permanently delete an RD Station catalog feed by integer ID. This allows a new feed to be created under the account's one-catalog-feed limit.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `feed_id` | integer | Yes | Unique integer ID of the catalog feed to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Contact

**Slug:** `RD_STATION_MARKETING_DELETE_CONTACT`

Permanently delete one contact identified by UUID, email address, or phone number. Returns the identifier only after RD Station confirms deletion with HTTP 204.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `value` | string | Yes | Contact UUID, email address, or phone number matching identifier. |
| `identifier` | string ("uuid" | "email" | "phone") | Yes | Type of contact identifier supplied in value. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Contact Field

**Slug:** `RD_STATION_MARKETING_DELETE_CONTACT_FIELD`

Permanently delete a custom RD Station contact field by UUID and return a confirmation only after RD Station responds with HTTP 204.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `uuid` | string | Yes | UUID of the custom contact field to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Webhook Subscription

**Slug:** `RD_STATION_MARKETING_DELETE_WEBHOOK_SUBSCRIPTION`

Permanently delete an RD Station webhook subscription by UUID and return a confirmation only after RD Station responds with HTTP 204.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `uuid` | string | Yes | UUID of a webhook created by this OAuth integration, normally returned by LIST_WEBHOOK_SUBSCRIPTIONS. UI-created webhooks are unavailable. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Campaign

**Slug:** `RD_STATION_MARKETING_GET_CAMPAIGN`

Get one campaign created in RD Station Marketing's Campaign Manager. This endpoint requires an RD Station Marketing Pro or Advanced plan.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique RD Station campaign ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Catalog Feed

**Slug:** `RD_STATION_MARKETING_GET_CATALOG_FEED`

Get one RD Station catalog feed by integer ID without exposing stored credentials.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `feed_id` | integer | Yes | Unique integer ID of the catalog feed to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Contact

**Slug:** `RD_STATION_MARKETING_GET_CONTACT`

Return one RD Station contact identified by UUID, email address, or phone number.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `value` | string | Yes | Contact UUID, email address, or phone number matching identifier. |
| `identifier` | string ("uuid" | "email" | "phone") | Yes | Type of contact identifier supplied in value. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Contact Funnel

**Slug:** `RD_STATION_MARKETING_GET_CONTACT_FUNNEL`

Return the default funnel state for an RD Station contact identified by UUID, email address, or phone number.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `value` | string | Yes | Contact UUID, email address, or phone number matching identifier. |
| `identifier` | string ("uuid" | "email" | "phone") | Yes | Type of contact identifier supplied in value. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Conversion Analytics

**Slug:** `RD_STATION_MARKETING_GET_CONVERSION_ANALYTICS`

Get visits, conversions, and conversion rates for RD Station landing pages, popups, and forms. This endpoint is available only on Pro and Advanced plans. Pro can query only the last 45 days; Advanced has no query-range limit. Data can take up to 24 hours to update.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end_date` | string | Yes | Required inclusive analytics end date in YYYY-MM-DD format. Live RD Station requests returned HTTP 400 when omitted despite the OpenAPI schema marking this field optional. |
| `asset_ids` | array | No | Optional asset IDs to include. Sent as one comma-separated asset_id value. |
| `start_date` | string | Yes | Required inclusive analytics start date in YYYY-MM-DD format. Live RD Station requests returned HTTP 400 when omitted despite the OpenAPI schema marking this field optional. |
| `assets_type` | array | No | Optional asset types. Each value is sent as a repeated assets_type[] query key. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Email

**Slug:** `RD_STATION_MARKETING_GET_EMAIL`

Get one RD Station marketing email by its numeric ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | RD Station email ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Email Analytics

**Slug:** `RD_STATION_MARKETING_GET_EMAIL_ANALYTICS`

Get engagement and delivery statistics for RD Station email campaigns. This endpoint is available only on Pro and Advanced plans. Pro can query only the last 45 days; Advanced has no query-range limit. Data starts in August 2021, is consolidated through the previous day, and uses UTC.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end_date` | string | Yes | Required inclusive analytics end date in YYYY-MM-DD format. Live RD Station requests returned HTTP 400 when omitted despite the OpenAPI schema marking this field optional. |
| `start_date` | string | Yes | Required inclusive analytics start date in YYYY-MM-DD format. Live RD Station requests returned HTTP 400 when omitted despite the OpenAPI schema marking this field optional. |
| `campaign_ids` | array | No | Optional campaign IDs to include. Sent as one comma-separated campaign_id value. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Funnel Analytics

**Slug:** `RD_STATION_MARKETING_GET_FUNNEL_ANALYTICS`

Get cumulative visitor, contact, opportunity, and sales counts for an RD Station sales funnel. This endpoint is available only on the Advanced plan. Data is available from June 2022.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end_date` | string | Yes | Required inclusive analytics end date in YYYY-MM-DD format. Live RD Station requests returned HTTP 400 when omitted despite the OpenAPI schema marking this field optional. |
| `grouped_by` | string ("daily" | "weekly" | "monthly") | No | Optional period grouping: daily, weekly, or monthly. Defaults to daily upstream. |
| `start_date` | string | Yes | Required inclusive analytics start date in YYYY-MM-DD format. Live RD Station requests returned HTTP 400 when omitted despite the OpenAPI schema marking this field optional. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Webhook Subscription

**Slug:** `RD_STATION_MARKETING_GET_WEBHOOK_SUBSCRIPTION`

Get one RD Station webhook subscription by UUID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `uuid` | string | Yes | UUID of a webhook created by this OAuth integration, normally returned by LIST_WEBHOOK_SUBSCRIPTIONS. UI-created webhooks are unavailable. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Workflow

**Slug:** `RD_STATION_MARKETING_GET_WORKFLOW`

Return one RD Station Marketing automation workflow and its actions by UUID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Unique UUID of the workflow to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Workflow Email Analytics

**Slug:** `RD_STATION_MARKETING_GET_WORKFLOW_EMAIL_ANALYTICS`

Get engagement and delivery statistics for emails sent by RD Station automation workflows. This endpoint is available only on Pro and Advanced plans. Pro can query only the last 45 days; Advanced has no query-range limit. Data starts in January 2022 and is consolidated in UTC.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end_date` | string | Yes | Required inclusive analytics end date in YYYY-MM-DD format. Live RD Station requests returned HTTP 400 when omitted despite the OpenAPI schema marking this field optional. |
| `start_date` | string | Yes | Required inclusive analytics start date in YYYY-MM-DD format. Live RD Station requests returned HTTP 400 when omitted despite the OpenAPI schema marking this field optional. |
| `workflow_ids` | array | No | Optional workflow IDs to include. Sent as one comma-separated workflow_id value. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Insert Leads Into Workflow

**Slug:** `RD_STATION_MARKETING_INSERT_LEADS_INTO_WORKFLOW`

Enroll existing RD Station leads in an automation workflow. Warning: this irreversible mutation may immediately trigger emails and other configured workflow actions.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Unique UUID of the workflow that will receive the leads. |
| `leads` | array | Yes | Lead email addresses or phone numbers to enroll. Advanced plans accept up to 50 per request; Pro accepts 25, and Light or Basic accepts 10. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Campaign Items

**Slug:** `RD_STATION_MARKETING_LIST_CAMPAIGN_ITEMS`

Return one page of items in an RD Station Marketing Campaign Manager campaign. This endpoint requires an RD Station Marketing Pro or Advanced plan.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique RD Station campaign ID. |
| `ids` | array | No | Optional platform_item_id values. They are sent to RD Station as a CSV query value. |
| `page` | integer | No | Optional page number to request. Omit when using next_cursor. |
| `order` | string ("added_at:asc" | "added_at:desc" | "item_type:asc" | "item_type:desc") | No | Optional sort expression using added_at or item_type and asc or desc. |
| `item_type` | string ("email" | "form" | "landing_page" | "popup" | "workflow") | No | Optional item type: email, form, landing_page, popup, or workflow. |
| `page_size` | integer | No | Maximum campaign items to return in this page (1-50); defaults to 25. |
| `next_cursor` | string | No | Opaque continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Campaigns

**Slug:** `RD_STATION_MARKETING_LIST_CAMPAIGNS`

Return one page of campaigns from RD Station Marketing's Campaign Manager. This endpoint requires an RD Station Marketing Pro or Advanced plan.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | array | No | Optional campaign IDs. They are sent to RD Station as a CSV query value. |
| `page` | integer | No | Optional page number to request. Omit when using next_cursor. |
| `order` | string ("name:asc" | "name:desc" | "updated_at:asc" | "updated_at:desc" | "created_at:asc" | "created_at:desc") | No | Optional sort expression: name, updated_at, or created_at followed by asc or desc. |
| `search` | string | No | Optional campaign-name search text. |
| `end_date` | string | No | Optional last campaign date to include, in YYYY-MM-DD format. |
| `page_size` | integer | No | Maximum campaigns to return in this page (1-50); defaults to 25. |
| `start_date` | string | No | Optional first campaign date to include, in YYYY-MM-DD format. |
| `next_cursor` | string | No | Opaque continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Catalog Feeds

**Slug:** `RD_STATION_MARKETING_LIST_CATALOG_FEEDS`

List catalog feeds configured for the connected RD Station account. RD Station allows at most one catalog feed per account. Stored feed credentials are not returned.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Contact Events

**Slug:** `RD_STATION_MARKETING_LIST_CONTACT_EVENTS`

Return one 10-event page of conversion or opportunity events associated with an RD Station contact UUID, ordered by creation time in the requested direction (ascending by default).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `uuid` | string | Yes | Unique RD Station UUID of the contact whose events to list. |
| `direction` | string ("asc" | "desc") | No | Sort direction by event creation time: asc returns oldest events first; desc returns newest events first. Defaults to asc. |
| `event_type` | string ("CONVERSION" | "OPPORTUNITY") | Yes | Type of contact events to return: CONVERSION or OPPORTUNITY. |
| `next_cursor` | string | No | Opaque continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Contact Fields

**Slug:** `RD_STATION_MARKETING_LIST_CONTACT_FIELDS`

Return the standard and custom contact fields configured for the connected RD Station account.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Content Assets

**Slug:** `RD_STATION_MARKETING_LIST_CONTENT_ASSETS`

Return one page of emails, landing pages, popups, or embeddable forms from the connected RD Station account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | array | No | Optional provider asset IDs to include. |
| `order` | array | No | Optional sort fields; valid for every asset type except email. |
| `types` | array | No | Optional email types to include; valid only when asset_type is email. |
| `search` | string | No | Optional text search. Emails use the provider's query parameter; other asset types use search. |
| `trigger` | array | No | Optional popup trigger types; valid only when asset_type is popup. |
| `page_size` | integer | No | Maximum assets to return in this page (1-125); defaults to 10. |
| `asset_type` | string ("email" | "landing_page" | "popup" | "embeddable_form") | Yes | Kind of marketing content to list: email, landing_page, popup, or embeddable_form. |
| `next_cursor` | string | No | Opaque continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Segmentation Contacts

**Slug:** `RD_STATION_MARKETING_LIST_SEGMENTATION_CONTACTS`

Return one page of contacts belonging to a selected segmentation and a cursor for the next page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | string | No | Optional sort expression in field:asc or field:desc form. |
| `page_size` | integer | No | Maximum contacts to return in this page (1-125); defaults to 10. |
| `next_cursor` | string | No | Opaque continuation cursor returned by a previous call; omit for the first page. |
| `segmentation_id` | string | Yes | Segmentation ID returned by LIST_SEGMENTATIONS. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Segmentations

**Slug:** `RD_STATION_MARKETING_LIST_SEGMENTATIONS`

Return one page of RD Station contact segmentations and an opaque cursor for the next page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | string | No | Optional sort expression in field:asc or field:desc form. |
| `search` | string | No | Optional segmentation name search. RD Station excludes standard segmentations from search results. |
| `page_size` | integer | No | Maximum segmentations to return in this page (1-125); defaults to 10. |
| `next_cursor` | string | No | Opaque continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Webhook Subscriptions

**Slug:** `RD_STATION_MARKETING_LIST_WEBHOOK_SUBSCRIPTIONS`

List RD Station webhook subscriptions created by this OAuth integration. Subscriptions created in the RD Station UI are not returned.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Workflows

**Slug:** `RD_STATION_MARKETING_LIST_WORKFLOWS`

Return one page of RD Station Marketing automation workflows and an opaque cursor for the next page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ids` | array | No | Optional workflow UUIDs, supplied as a CSV string or a list. |
| `page` | integer | No | Page number to return; defaults to 1. |
| `order` | array | No | Optional repeated sort fields. Allowed values are name, created_at, updated_at, user_email_created, and user_email_updated. |
| `page_size` | integer | No | Maximum workflows to return in this page (1-125); defaults to 10. |
| `next_cursor` | string | No | Opaque continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Record Event

**Slug:** `RD_STATION_MARKETING_RECORD_EVENT`

Permanently record one current conversion, opportunity, interaction, media, or ecommerce event through RD Station's single-event endpoint. The event cannot be undone.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `event` | string | Yes | One current RD Station event. Choose event_kind to expose that event's exact payload fields. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Record Events

**Slug:** `RD_STATION_MARKETING_RECORD_EVENTS`

Permanently record one or more current conversion, opportunity, interaction, media, or ecommerce events in RD Station. Events cannot be undone.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `events` | array | Yes | One or more current RD Station events. Choose event_kind to expose that event's exact payload fields. Deprecated legacy ecommerce kinds are not accepted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Catalog Feed

**Slug:** `RD_STATION_MARKETING_UPDATE_CATALOG_FEED`

Replace the configurable fields of an RD Station catalog feed. Name, URL, and format are required because this PATCH endpoint expects the complete feed definition.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Complete URL from which RD Station imports the catalog feed. |
| `name` | string | Yes | Complete human-readable name for the catalog feed. |
| `format` | string ("xml" | "json" | "google_shopping") | Yes | Complete catalog format: xml, json, or google_shopping. |
| `feed_id` | integer | Yes | Unique integer ID of the catalog feed to update. |
| `password` | string | No | Optional write-only password used to access a protected catalog feed URL. |
| `username` | string | No | Optional write-only username used to access a protected catalog feed URL. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Contact Field

**Slug:** `RD_STATION_MARKETING_UPDATE_CONTACT_FIELD`

Replace the mutable definition of a custom RD Station contact field. The API identifier is immutable and cannot be changed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | object | Yes | Complete field name using the provider-required pt-BR locale key. |
| `uuid` | string | Yes | UUID of the custom contact field to update. |
| `label` | object | Yes | Complete field label using the provider-required pt-BR locale key. |
| `data_type` | string ("STRING" | "INTEGER" | "BOOLEAN" | "STRING[]") | Yes | Stored value type for the custom contact field. |
| `validation_rules` | object | No | Optional restrictions applied to values stored in the field. |
| `presentation_type` | string ("TEXT_INPUT" | "EMAIL_INPUT" | "COMBO_BOX" | "URL_INPUT" | "TEXT_AREA" | "RADIO_BUTTON" | "PHONE_INPUT" | "NUMBER_INPUT" | "CHECK_BOX" | "MULTIPLE_CHOICE") | Yes | RD Station control used to present and edit the field. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Contact Funnel

**Slug:** `RD_STATION_MARKETING_UPDATE_CONTACT_FUNNEL`

Update supplied fields in the default funnel for an RD Station contact identified by UUID, email address, or phone number.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `value` | string | Yes | Contact UUID, email address, or phone number matching identifier. |
| `identifier` | string ("uuid" | "email" | "phone") | Yes | Type of contact identifier supplied in value. |
| `opportunity` | boolean | No | Whether to mark the contact as an opportunity. Omit to leave it unchanged; null is not allowed. |
| `lifecycle_stage` | string ("Lead" | "Qualified Lead" | "Client") | No | Lifecycle stage to set. Omit to leave it unchanged; null is not allowed. |
| `contact_owner_email` | string | No | Email address of the contact owner. Send null to remove the current owner; omit to leave ownership unchanged. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Webhook Subscription

**Slug:** `RD_STATION_MARKETING_UPDATE_WEBHOOK_SUBSCRIPTION`

Replace an RD Station webhook subscription using its complete delivery definition. When event_type changes away from WEBHOOK.CONVERTED and event_identifiers is omitted, RD Station retains the subscription's previous identifiers.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | HTTP(S) webhook delivery URL, at most 255 characters. |
| `uuid` | string | Yes | UUID of a webhook created by this OAuth integration, normally returned by LIST_WEBHOOK_SUBSCRIPTIONS. UI-created webhooks are unavailable. |
| `event_type` | string ("WEBHOOK.CONVERTED" | "WEBHOOK.MARKED_OPPORTUNITY" | "crm_deal_created" | "crm_deal_updated" | "crm_deal_deleted") | Yes | Event that causes RD Station to deliver the webhook. |
| `entity_type` | string | Yes | Entity included in webhook deliveries; RD Station accepts CONTACT. |
| `http_method` | string | Yes | HTTP method for webhook deliveries; RD Station accepts POST. |
| `event_identifiers` | array | No | Optional conversion identifiers, valid only for WEBHOOK.CONVERTED. |
| `include_relations` | array | No | Optional related data to include: COMPANY and/or CONTACT_FUNNEL. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Upsert Contact

**Slug:** `RD_STATION_MARKETING_UPSERT_CONTACT`

Create or update a contact identified by UUID, email address, or phone number without recording a conversion event. Supplied tags replace existing tags.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `value` | string | Yes | Contact UUID, email address, or phone number matching identifier. |
| `updates` | object | Yes | Documented mutable profile, tag, and legal-basis fields to set. |
| `identifier` | string ("uuid" | "email" | "phone") | Yes | Type of identifier used to find or create the contact. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
