I Automated My Personal Brand: From Notion to X, Threads, and LinkedIn with n8n (with Human Approval)

Posting to three networks by hand does not scale. I write the text, cut it for one, leave it longer for another, paste the link, check the preview, and do it again the next day. I also don’t want a bot that posts because a clock said so. If the copy is wrong, it goes out wrong, three times.

What I built is more boring. A row in a database, a status I change myself, and a flow that only picks up those rows.


The problem

The bottleneck is not the API. It is permission.

I can draft an idea once and adapt it per network. What I won’t automate is judgment. A sentence that reads fine in a draft can be too much once it is public. So the flow does not create posts. It waits for them.

One rule: if the row does not say Approved, it does not exist for the publisher.


Architecture

Four pieces. None of them decide the copy.

       Notion                 my n8n instance              networks
 ┌────────────────┐       ┌─────────────────────┐       ┌────────────┐
 │ publications   │       │    every 15 min     │       │ X          │
 │                ├──────►│  check length       ├──────►│ Threads    │
 │ Approved only  │       │  one node per net   │       │ LinkedIn   │
 │ and due date   │◄──────│  write status       │◄──────│            │
 └────────────────┘       │  and the link       │       └────────────┘
                          └─────────────────────┘

The database lives in Notion. The flow runs on my n8n instance, self-hosted. Each network talks through its own API, with its own credential. n8n does not invent the text, and it does not move a row to Approved. I do that.


The Notion database

One database. One record per publication, not per idea. If the same text goes to two networks, that is two rows. Each one has its own limit, its own error, and its own link.

FieldWhat it is for
TitleInternal name. It is not published.
NetworkX, Threads, or LinkedIn. Picks the node.
TextWhat goes out, already cut for that network.
DateNothing publishes before this moment.
StatusDraft, Approved, Published, or Failed.
Resource linkA link to attach, if there is one.
Published linkWhat the API returns when it works.
ErrorA short message if the node fails.

The statuses are the lock:

StatusWho sets itWhat happens
DraftMeThe flow does not look at it.
ApprovedMeIt enters the next pass, if the date has passed.
PublishedThe flowIt has a link. It is not sent again.
FailedThe flowIt has an error. It sits until I review it.

Only Approved leaves. A half-written draft is not one cron tick away from going live.


The n8n flow

The trigger is a schedule every 15 minutes. There is no “publish now” button inside the flow. If I am in a hurry, I move the date up and wait for the pass, or I run the workflow by hand. The query is the same either way.

It loads rows whose Status is Approved and whose Date is now or earlier. Zero rows is a success. The flow ends.

For each row:

  1. I read the status again. If it is no longer Approved, I skip it.
  2. I measure the text against that network’s limit. If it is over, I write Failed and the reason, and I do not call the API. On X that also avoids paying for a post that was going to bounce.
  3. One node per network. There is no generic HTTP call for all three. Each one has its own credential and its own response shape.
  4. If the API returns an id, I write Published link and set the status to Published.
  5. If the API returns an error, I copy a trimmed body into Error and set Failed.

Step 4 stays in that order. The link is saved on the same branch as the status change. A row that already has a Published link is not sent again, even if the status write stops halfway.

The publish node does not retry on its own. A retry is the easiest way to publish twice.


Each network

X

280 characters. I check that before the call.

The API charges per post. A post that includes a URL costs more than text alone, so the link does not go in the body. The text goes out. If there is a Resource link, the flow publishes a reply under that post with the link: the comment that sits underneath. The reader sees it. I pay for the cheaper post.

Images are a separate permission. Uploading media requires the media.write scope. Without it, the media node says it is not authorized, even when the text node works. If the row has no image, I do not ask for media.

Threads

Two steps, in this order. First I create a container with the text. Then I publish that container. If I stop after the first step, there is no post. There is an unpublished object, and the row cannot move to Published.

The token lasts 60 days and can be refreshed before it expires. It does not refresh just because the flow runs every 15 minutes. I track that separately.

Text fits in 500 characters. The cut I use for X is usually short here, so the Threads row carries its own Text.

LinkedIn

The app needs two products: Share on LinkedIn, and Sign In with OpenID Connect. The first one allows posting to the profile. The second is the login that issues the token. Without both, the credential fails before the node runs.

The token lasts 60 days. Text fits in 3000 characters. In practice that is a long post, not a thread.

The error that cost me the most time was not the copy. The LinkedIn credential in n8n still had the old r_emailaddress scope. New apps do not grant it. Email comes from OpenID, not from that name. It has to come off the credential.

The other switch is called Organization Support. Turned on, the credential asks for organization permissions. I post as a person, not as a page, and the app does not have that product. With the switch off, the token is issued and the node posts to the profile.


What broke

Mixed credentials on X. One node talked to the new credential, and another — the reply, or the media upload — still pointed at a different credential. The API answers 400. It does not say I mixed credentials. It says the request is bad. The rule I kept: every node for the same row uses the same X credential. If I rotate one, I change all of them.

The link card in the wrong language. A network’s crawler does not run the page’s language toggle. It reads the title and description in the HTML of the URL I pasted. If I paste the URL with no language, the card comes out in that page’s default language, even when the post text is in the other one. So when Resource link points at one of my articles, I use the URL for the language I am posting in. The preview and the text match.


Limits per API

NetworkCharactersTokenHow it publishesWatch out
X280the app’s, per userone post; the link goes in a replycharged per post; a URL in the body costs more; images need media.write
Threads50060 days, refreshablecontainer, then publisha container alone is not a post
LinkedIn300060 daysone post to the profileShare on LinkedIn and Sign In with OpenID Connect; no r_emailaddress; Organization Support off when posting as a person

Those are the caps the flow enforces. They are not a target to fill.


Human approval

The flow is a courier. It does not draft, it does not pick the hour for me, and it does not forgive an error by retrying blind.

I set Approved when the text is already cut and the date is the go-live time. Until then the row is a Draft, and the pass moves on.

To avoid posting twice:

  • The query only asks for Approved, with a date that is already due.
  • Right before the POST I read the row again. If the status changed, I stop.
  • The first thing I write back is Published link. If that field already has a value, there is no second send, even if the status was left on Approved.
  • A failure becomes Failed and stops. Moving it back to Approved is a decision, not an automatic retry. If the network did publish and Notion missed it, the link is already stored and the next pass sees it.
  • A pass takes seconds, and the next one is 15 minutes later. They are not meant to overlap. The lock is still the status and the link, not the clock.

It is slower than a bot. It is also the only way I leave a credential with write access turned on all week.


What’s next

Threads and LinkedIn tokens have to be refreshed before the 60 days are up. Today that is manual. Next is a reminder, not a hidden refresh that fails quietly.

Threads of posts stay out. This flow publishes one text per row. Chaining replies means storing the parent id and creating child rows. I will do that when the simple case has gone a few weeks without duplicates.

Measuring stays out too. Published link is enough to open the post. Impressions and replies can come back to the same row later, on a separate read-only pass. I am not mixing that into the flow that writes to the networks.


The automation moves the row. The decision that it should exist stays mine.

Share
D
Diego Duran
@fxckcode

Backend engineer who ships agentic CLI tooling. NestJS, Go, Django, AWS.