The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Social Bot Receiver (social-bot-scheduler, PHP API)",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "social-bot",
"responseMode": "onReceived",
"options": {}
},
"id": "webhook-social-bot",
"name": "Webhook Social Bot",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
240,
300
]
},
{
"parameters": {
"functionCode": "const data = items[0].json;\nconst channels = Array.isArray(data.channels) ? data.channels : [];\nconst result = [];\n\nfor (const channel of channels) {\n result.push({\n json: {\n id: data.id,\n text: data.text,\n scheduled_at: data.scheduled_at,\n channel,\n },\n });\n}\n\nif (result.length === 0) {\n result.push({\n json: {\n id: data.id,\n text: data.text,\n scheduled_at: data.scheduled_at,\n channel: 'default',\n },\n });\n}\n\nreturn result;"
},
"id": "split-by-channel",
"name": "Split by Channel",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
520,
300
]
},
{
"parameters": {
"requestMethod": "POST",
"url": "http://localhost:8080/api/social_bot_receiver.php",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "id",
"value": "={{$json[\"id\"]}}"
},
{
"name": "text",
"value": "={{$json[\"text\"]}}"
},
{
"name": "channel",
"value": "={{$json[\"channel\"]}}"
},
{
"name": "scheduled_at",
"value": "={{$json[\"scheduled_at\"]}}"
}
]
},
"options": {}
},
"id": "send-to-php-api",
"name": "Send to PHP API",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
820,
300
]
}
],
"connections": {
"Webhook Social Bot": {
"main": [
[
{
"node": "Split by Channel",
"type": "main",
"index": 0
}
]
]
},
"Split by Channel": {
"main": [
[
{
"node": "Send to PHP API",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "social-bot-v1-php",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "workflow-social-bot-php",
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Social Bot Receiver (social-bot-scheduler, PHP API). Uses httpRequest. Webhook trigger; 3 nodes.
Source: https://github.com/vladimiracunadev-create/social-bot-scheduler/blob/main/cases/01-python-to-php/n8n/social-bot.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di
This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .
eek-Go v2 (Batch-Then-Review). Uses httpRequest. Webhook trigger; 75 nodes.
This workflow receives webhook requests from a content calendar and uses the X API v2 to publish text posts, threads, image/video posts, and polls, as well as delete existing posts and run a credentia
This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c