← Back
Create social media posts from Product launch doc and send to Facebook
n8n_2000_workflows / create-social-media-posts-product-launch-doc-facebook.json
Complexity: simpleNodes: 4
basecreatecreate-social-media-posts-product-launch-doc-facebook.jsondatadocerrorfacebookfetchfromhttprequestincominglaunchmedian8nn8n_2000_workflowsnodespostsproductsendsimpleslacksocialtotriggerwebhook
Node Overview
- Incoming Trigger – n8n-nodes-base.webhook
- Fetch data from Product launch doc – n8n-nodes-base.httpRequest
- Send to Facebook – n8n-nodes-base.httpRequest
- Send Error to Slack – n8n-nodes-base.slack
Workflow JSON
{ "name": "Create social media posts from Product launch doc and send to Facebook", "nodes": [ { "id": "trigger-product-launch-doc", "name": "Incoming Trigger", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -600, 64700 ], "parameters": { "httpMethod": "POST", "path": "create-social-media-posts-from-product-launch-doc-and-send-to-facebook", "responseCode": 200, "responseMode": "onReceived" } }, { "id": "fetch-product-launch-doc", "name": "Fetch data from Product launch doc", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ -300, 64700 ], "parameters": { "method": "GET", "url": "https://api.example.com/product-launch-doc", "responseFormat": "json" } }, { "id": "send-facebook", "name": "Send to Facebook", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ 300, 64700 ], "parameters": { "method": "POST", "url": "https://api.example.com/facebook", "responseFormat": "json", "options": {} } }, { "id": "error-handler-600-64700", "name": "Send Error to Slack", "type": "n8n-nodes-base.slack", "typeVersion": 1, "position": [ 600, 64700 ], "parameters": { "resource": "message", "operation": "post", "channel": "#automation-alerts", "text": "={{ $json.get('error_message', 'An error occurred') }}" } } ], "connections": { "Incoming Trigger": { "main": [ [ { "node": "Fetch data from Product launch doc", "type": "main", "index": 0 } ] ] }, "Fetch data from Product launch doc": { "main": [ { "node": "Send to Facebook", "type": "main", "index": 0 } ] }, "Send to Facebook": { "main": [ [ { "node": "Send Error to Slack", "type": "main", "index": 0 } ] ] } }, "settings": {}, "active": false }