> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryprofound.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using PartnerStack in Workflows

> Learn how to check partner domains and send citation data to PartnerStack with Workflow nodes

Use PartnerStack Workflow nodes to find out which domains that AI answer engines cite are already partners in the PartnerStack network, and to send citation data to PartnerStack to help you recruit new partners.

Both nodes appear under **PartnerStack** in the **Integrations** section of the Workflow Builder node picker. [Connect your PartnerStack account](https://docs.tryprofound.com/integrations/partnerstack/connect-partnerstack-to-profound.md) before you use **Recruit**. **Check Network** works without a connection.

## Available nodes

> [tab] Check Network
>
> ### Check Network
>
> Checks a list of domains against the PartnerStack partner network and returns whether each one is a match. This node doesn't need a connected PartnerStack account.
>
> #### Required inputs
>
> * **Domains** — A list of 1 to 500 domains. Enter the domains in the field, or type `/` to insert a variable from an earlier node.
>
> #### How domains are matched
>
> Profound lowercases each domain and removes `www.` and any trailing slash. It then looks for an exact match. If there's none, it tries the registered domain, so `blog.example.com` matches a partner listed as `example.com`.
>
> #### Output
>
> A list of objects, labeled **Domains** by default. Each object has two fields:
>
> | Field | Description |
> | - | - |
> | `domain` | The normalized domain. When the match was on the registered domain, this is the registered domain. |
> | `matched` | `true` when the domain is in the PartnerStack partner network, `false` when it isn't. |
>
> Domains that normalize to the same value appear once.

> [tab] Recruit
>
> ### Recruit
>
> Sends citation data to PartnerStack through your connected account to help you recruit partners.
>
> #### Required inputs
>
> * **PartnerStack Account** — Select a connected account from the dropdown, or select **Add account** to [connect one](https://docs.tryprofound.com/integrations/partnerstack/connect-partnerstack-to-profound.md).
> * **Citations** — A JSON list with at least one citation. Enter the list in the editor, or reference an earlier node's output, for example `{{citation_pages.output}}`.
>
> Each citation is an object with these fields:
>
> | Field | Required | Description |
> | - | - | - |
> | `url` | Yes | The URL of the cited page. |
> | `citation_count` | No | How many times an AI model cited or mentioned the URL. Defaults to `1`. |
> | `mentioned_on_page` | No | `true` or `false`: whether the content of the URL mentions your company. |
> | `category` | No | The aspect being evaluated, for example `Customer Experience`. |
> | `model_provider` | No | The AI provider the answer came from, for example `OpenAI`. Up to 255 characters. |
>
> ```json Citations example wrap theme={null}
> [
>   {
>     "url": "https://example.com/page",
>     "citation_count": 5,
>     "mentioned_on_page": true,
>     "category": "Customer Experience",
>     "model_provider": "OpenAI"
>   }
> ]
> ```
>
> > [!NOTE]
> >
> > Before sending, Profound combines the rows that share a URL into one record. It adds up their `citation_count` values and keeps the first value it finds for the other fields.
>
> #### Output
>
> **Status**: `success` when PartnerStack accepts the citations.

***

## Example Workflow: Send citation data to PartnerStack

This example Workflow sends cited pages to PartnerStack.

**1. Pull cited pages**

Add a [Citation Pages](https://docs.tryprofound.com/agents/workflows/nodes/data/citation-pages.md) node. Select a **Metric** and **Date Range**, and set the **Output Label** to `citation_pages`.

**2. Send the pages to PartnerStack**

Add a **Recruit** node. Select your account under **PartnerStack Account**, then enter `{{citation_pages.output}}` under **Citations**.

> [!TIP]
>
> To see which of the cited domains are already in the PartnerStack network, add a **Check Network** node and pass it the domains from your citation data.

## Troubleshooting

> [accordion] Recruit fails with a credentials error
>
> PartnerStack rejected the connection. [Add your PartnerStack account](https://docs.tryprofound.com/integrations/partnerstack/connect-partnerstack-to-profound.md) again, select it in the **PartnerStack Account** dropdown, and run the Workflow again.

> [accordion] Recruit fails because citations are empty or invalid
>
> * Confirm that **Citations** is a list with at least one item.
> * Confirm that every item has a `url`.
> * If you use a variable, confirm that the earlier node ran and returned a list of citations. Check that the node's **Output Format** is JSON.

> [accordion] Recruit fails with a rate limit error
>
> PartnerStack is limiting requests. Wait a moment and run the Workflow again.

> [accordion] Check Network returns false for domains that should match
>
> Confirm that **Domains** contains domains, such as `example.com`, and not full page URLs.

> [accordion] Check Network fails
>
> Confirm that **Domains** contains at least one domain and no more than 500.
