Connect n8n to SocialBu
-
Verify your SocialBu email address, then open Developers & API in Settings. Copy your API Access Token or generate one if needed. Store it as a credential in n8n.
-
Add an HTTP Request node to the workflow, select Bearer Auth, and use the SocialBu token in its credential.
-
Read the available accounts and post options, then map the incoming fields into a JSON request to create a draft or scheduled post.
-
Test with one account and check the draft in SocialBu before enabling the workflow.
Look up the account with GET /api/v1/accounts and its options with GET /api/v1/posts/supported-options. Send the draft request below using an HTTP Request node with Bearer Auth. Replace the account ID and date with your own values.
POST https://socialbu.com/api/v1/posts
Authorization: Bearer YOUR_SOCIALBU_TOKEN
Content-Type: application/json
{
"accounts": [123],
"content": "Our spring workshop is open for registration.",
"publish_at": "YYYY-MM-DD HH:MM:SS",
"draft": true
}
Use UTC for publish_at. This example saves a text draft. For a post with media, send the accessible media URL in the url field to POST /api/v1/upload_media_by_url. Pass the returned token as "existing_attachments": [{"upload_token": "YOUR_UPLOAD_TOKEN"}]. See the SocialBu API documentation for request fields.
Send or receive a webhook
To start a SocialBu automation from n8n, choose the Webhook trigger in SocialBu Automate and send a POST to the URL it provides. To start a workflow in n8n, use an n8n Webhook node and send JSON to its URL with SocialBu’s HTTP Request action.
Requirements
Use an authorized connected account and a SocialBu plan with API access. Starter, Growth, and Agency include API access.
Workflows to build in n8n
When a LinkedIn event row is approved, map the organization Page ID and registration link into a scheduled post.
Turn a prepared Instagram image URL and caption into a draft for the connected professional account.
Read the publishing options for an account before mapping fields such as a LinkedIn first comment.
Convert a spreadsheet’s local time to UTC before making the scheduling request.
Fetch a scheduled post by ID and save its status to the source row.
Receive a JSON payload from a SocialBu automation in an n8n Webhook node and record the event in a log.
Keep one content item together across HTTP Request nodes
Start from an approved row that contains a caption, destination reference, local publish time, and optional file URL. Put the approval check before the first request that changes SocialBu data. Normalize the row into one item per destination, then look up the SocialBu account ID and read the options for that account. Make the date conversion explicit before the create request so a row written in local time produces the intended UTC timestamp. Try a single draft run and inspect the record in SocialBu before allowing scheduled requests to pass.
For a media item, use a separate HTTP Request node to import the file URL and map the returned upload token into that item’s create request. Keep a stable source row ID and the destination account ID with the item. When several input items are present, check that the token and caption still belong to the same row after the upload step. Review the saved attachments in the draft. A download URL must resolve to the asset from SocialBu, so check links copied from a restricted store before sending them to the upload endpoint.
Record the result and give failures their own path
Write the returned SocialBu post ID back to the source row after creation. On subsequent workflow runs, update or look up that ID rather than creating another post when the row already has one. If an HTTP request times out after the request was sent, check SocialBu for the matching draft or scheduled item before replaying that step. Inspect the HTTP response to distinguish authentication from a request problem. For authentication, check the Bearer credential and access to the account. For validation, check the target format, media, and options you mapped.
A SocialBu automation can send an HTTP request to an n8n webhook. If your workflow also calls SocialBu’s webhook trigger, give the two directions different purposes so an incoming event does not send itself around the same route again. Use test payloads to identify the event fields your workflow actually receives, then map only the fields needed for the next action. Store the API token in the HTTP Request credential and leave it out of logs and event payloads. The SocialBu API documentation lists the publishing endpoints and request fields.
n8n integration FAQ
Can an n8n workflow schedule LinkedIn posts?
Yes. Send a post request with an eligible LinkedIn profile or Page ID and the format options the connected account supports.
Can n8n schedule an Instagram post through SocialBu?
Yes. Include supported media and use a connected professional account. Read the post options before mapping the format.
Can SocialBu start an n8n workflow?
Yes. Use an HTTP Request action in a SocialBu automation to send a JSON POST to the n8n Webhook node.
Which SocialBu plans include API access?
Starter, Growth, and Agency include API access. The API uses your SocialBu permissions for the selected accounts.
Can I run the workflow again after a timeout?
First check whether the prior action saved a post. Use the stored post ID or look up the matching draft before resending a create request.
How do I keep media aligned when processing several rows?
Keep a source identifier and account ID with every item and map each upload token back to the item that produced it.
More integrations
Try SocialBu with n8n
Cancel anytime. Free for 7 days.