Create Post
facebook.create_post
ActionChat & messagingconnection required
Calls the Graph API POST /{page_id}/feed with the connection's token.
Publish a post to a Facebook Page's feed via the Graph API.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Secret shape
- the Facebook Page access token
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
page_id The Facebook Page id. | string | Yes | — | — | — |
message Post text. Supports {{ }} expressions. | string | No | — | — | — |
link Optional URL to attach (link post). | string | No | — | — | — |
Output
One shape.
post
| Field | Type | Example |
|---|---|---|
ok | boolean | true |
post_id Id of the new post. | string | — |
{
"ok": true,
"post_id": ""
}See Create Post run in a workflow.
In a technical demo we add the Facebook connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.