# n8n integration: approved posts with PubNio workflow templates

PubNio works with n8n through standard nodes and the PubNio HTTP API; no community node is needed. Each template below sends only approved items, saves an idempotency key on the item before the first request, and records every destination's outcome. All 10 are checked on n8n 2.50.7.

## Templates

Status is the destination's availability in PubNio's publishing catalog. Every file is an n8n workflow export with no credentials inside.

| Template | Source | Destination | Status | Download |
| --- | --- | --- | --- | --- |
| [Google Sheets to Instagram: n8n template with row approval](https://pubnio.com/templates/n8n/google-sheets-to-instagram) | Google Sheets | Instagram | Live | <https://pubnio.com/templates/n8n/google-sheets-to-instagram.json> |
| [Google Sheets to YouTube: n8n upload template with approval](https://pubnio.com/templates/n8n/google-sheets-to-youtube) | Google Sheets | YouTube | Live | <https://pubnio.com/templates/n8n/google-sheets-to-youtube.json> |
| [Google Sheets to every connected network: n8n cross-posting template](https://pubnio.com/templates/n8n/google-sheets-to-all) | Google Sheets | every connected network | per network | <https://pubnio.com/templates/n8n/google-sheets-to-all.json> |
| [Airtable to TikTok: n8n template for approved videos](https://pubnio.com/templates/n8n/airtable-to-tiktok) | Airtable | TikTok | Live | <https://pubnio.com/templates/n8n/airtable-to-tiktok.json> |
| [Airtable to Pinterest: n8n template that pins approved records](https://pubnio.com/templates/n8n/airtable-to-pinterest) | Airtable | Pinterest | Live | <https://pubnio.com/templates/n8n/airtable-to-pinterest.json> |
| [Airtable to a Facebook Page queue: n8n template](https://pubnio.com/templates/n8n/airtable-to-facebook) | Airtable | Facebook | Live | <https://pubnio.com/templates/n8n/airtable-to-facebook.json> |
| [Notion to LinkedIn: n8n template that publishes the approved draft revision](https://pubnio.com/templates/n8n/notion-to-linkedin) | Notion | LinkedIn | Live | <https://pubnio.com/templates/n8n/notion-to-linkedin.json> |
| [GitHub releases to X: n8n template with an approval table and preflight check](https://pubnio.com/templates/n8n/github-release-to-x) | GitHub | X | Live | <https://pubnio.com/templates/n8n/github-release-to-x.json> |
| [RSS to Bluesky: n8n template with an approval queue](https://pubnio.com/templates/n8n/rss-to-bluesky) | RSS | Bluesky | Beta | <https://pubnio.com/templates/n8n/rss-to-bluesky.json> |
| [Webhook to LinkedIn: n8n template that queues requests for approval](https://pubnio.com/templates/n8n/webhook-to-linkedin) | Webhook | LinkedIn | Live | <https://pubnio.com/templates/n8n/webhook-to-linkedin.json> |

## How every template publishes

1. **Approve in the source.** A person approves the item where it lives: a checkbox, a status, a draft revision number, or an approved column in an n8n data table. PubNio has no approval step of its own, so the workflow publishes nothing a person has not approved; the Notion template saves unapproved pages only as drafts.
2. **Derive a key from the item's own ID.** The key is n8n-<workflow ID>-<hash of the row ID>, saved on the item with its send time before the first request. A rerun after a timeout sends the same key and body, and PubNio returns its first answer instead of a second post.
3. **Record what PubNio says, not what you hoped.** A 202 means PubNio accepted the work: the item reads queued or scheduled until a delivery reports published, failed, or unresolved. Each destination gets its own outcome line with its URL, issue, and next action.
4. **Recover from the item.** PubNio stores nothing for a rejected item, so the workflow clears the item's key and send time; fix the item and clear pubnio_status, and the next run sends it as a new request. A key with no post ID that is older than 23 hours, or has no send time, stops at needs_review, because PubNio replays a key for 24 hours only.

## Set up once

- Create a PubNio API key with the publish scope; it includes read.
- In n8n, create one Header Auth credential named PubNio API key: name `Authorization`, value `Bearer <key>`. Every template's PubNio nodes use it.
- Find your workspace ID and account IDs in PubNio's workspace and connected-account lists; each template's **PubNio settings** node takes them.
- Every request sends `PubNio-Version: 2026-12-02`, so a later API version cannot change what a template receives.

## How the templates are checked

The download is imported unchanged into a clean n8n 2.50.7 container, and its node types, versions, parameters, and operations are checked against that release. Then a copy runs with n8n execute. Its PubNio requests and its Code, If, Switch, and Merge nodes run as published. Its trigger and source nodes are simulated by a fake source with the same row shapes, its media wait is cut to one second, and PubNio is a fake API that decodes every request with PubNio's own schemas and checks it with PubNio's own content rules. PubNio's test suite replays every create and validate request the run sent against the real API and requires the same answer. Each run proves the approval gate, the saved key, replay after a lost response, a rejected or failed item, and a stale key.

## Limits

- Only n8n templates exist today; there is no Zapier or Make app yet.
- No n8n community node: the templates use the HTTP Request node, so a PubNio field n8n does not know is still one JSON edit away.
- The check uses fake PubNio and source answers, so no template on this page is shown with a real delivery.
- Data table templates need an n8n version with data tables; all were checked on the pinned version.

## Related

- [PubNio quickstart](https://pubnio.com/docs/quickstart/)
- [API reference](https://pubnio.com/api/v1/docs)
- [Pricing](https://pubnio.com/pricing)

