# n8n integration (/docs/n8n)

Use the InsightSocial API in n8n with the official community node, or start from two free workflows for viral content research and creator outreach lists.



The `n8n-nodes-insightsocial` community node calls InsightSocial endpoints from an n8n workflow. It covers TikTok, LinkedIn, Twitter/X, YouTube, Reddit and Pinterest, and reads their endpoints, parameters and prices from the live catalogue, so a new endpoint on those platforms shows up in n8n with no node update. For every other platform the API serves, use an HTTP Request node ([Without the node](#without-the-node)).

## Install the node [#install-the-node]

In n8n, open **Settings → Community nodes → Install** and enter:

```text title="Package name"
n8n-nodes-insightsocial
```

On a self-hosted n8n you can also run `npm install n8n-nodes-insightsocial` in your custom folder (usually `~/.n8n/custom`) and restart n8n.

## Add your key [#add-your-key]

<Steps>
  <Step>
    Open the [API dashboard](https://www.insightsocial.app/portal/api): your first key is created the first time you open it. Copy it from [API keys](https://www.insightsocial.app/portal/api/keys). Keys start with `isk_live_`.
  </Step>

  <Step>
    In n8n, create an **InsightSocial API** credential and paste the key. Leave the base URL as it is.
  </Step>

  <Step>
    Click **Test**. It calls `GET /v1/credits`, which is free.
  </Step>
</Steps>

## Operations [#operations]

| Operation      | What it does                                                          | Cost                 |
| -------------- | --------------------------------------------------------------------- | -------------------- |
| Call Endpoint  | Pick a platform and an endpoint, fill in its parameters, get the data | The endpoint's price |
| Get Credits    | Your balance and this month's usage                                   | Free                 |
| List Endpoints | Every endpoint on a platform, with its parameters and price           | Free                 |

The endpoint dropdown shows each price, for example `Profile (10 credits)` or, on TikTok, `Post/Comments (10-30 credits, metered)`, so you can see what a workflow costs before you run it. Failed calls and empty results are free.

## Ready-made workflows [#ready-made-workflows]

It is free to import and needs only an InsightSocial key.

| Workflow                                                                        | What it builds                                                                                                       |
| ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [Viral Content Radar](https://github.com/insightsocial/n8n-viral-content-radar) | Every weekday, this week's top TikToks in your niche, the top video's transcript, and an AI brief on why they spread |

## Without the node [#without-the-node]

Any n8n **HTTP Request** node works too: send a GET to `https://api.insightsocial.app/v1/...` with your key in an `x-api-key` header. The [endpoint reference](/docs/api-reference) lists every path and parameter.

## Next steps [#next-steps]

<Cards>
  <Card title="MCP server and CLI" href="/docs/mcp">
    Connect Claude, Cursor or any MCP client.
  </Card>

  <Card title="Recipes" href="/docs/recipes">
    End-to-end builds you can adapt.
  </Card>

  <Card title="Credits" href="/docs/credits">
    What each call costs and what is free.
  </Card>
</Cards>

