{ "kind": "open-flow-workflow", "version": 1, "name": "Send a Discord Webhook Message", "content": { "modelVersion": 14, "document": { "bindings": {}, "graph": { "nodes": { "n_c7f0ad09a9134080": { "name": "Start the message", "kind": "start", "inputDefs": [] }, "n_ffefb07049e38bba": { "inputs": { "url": { "kind": "value", "value": "https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN" }, "body": { "kind": "value", "value": { "content": "Hello World!" } } }, "name": "Send the Discord message", "kind": "task", "task": { "inputs": [ { "jsonSchema": { "type": "string" }, "nullable": false, "handle": "url" }, { "jsonSchema": {}, "nullable": true, "handle": "body" } ], "outputs": [ { "jsonSchema": { "type": "string" }, "nullable": true, "handle": "body" }, { "jsonSchema": { "type": "integer" }, "nullable": false, "handle": "statusCode" }, { "jsonSchema": { "type": "object", "additionalProperties": { "type": "string" } }, "nullable": false, "handle": "headers" } ], "name": "Send the Discord message", "executor": { "method": "POST", "query": { "mode": "fields", "names": [] }, "headers": { "mode": "fields", "names": [] }, "bodyFormat": "json", "authentication": { "type": "none" }, "responseFormat": "text", "statusPolicy": "success", "kind": "http-request" } } }, "n_c43b10dd2ecfe3b8": { "name": "Delivery response", "kind": "outputs", "outputDefs": [ { "jsonSchema": { "type": "integer" }, "nullable": false, "handle": "statusCode" } ], "outputMappings": { "statusCode": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_ffefb07049e38bba", "output": "statusCode" } ] } } } }, "edges": [ { "source": "n_c7f0ad09a9134080", "target": "n_ffefb07049e38bba" }, { "source": "n_ffefb07049e38bba", "target": "n_c43b10dd2ecfe3b8" } ] } }, "modules": {} }, "presentation": { "designer": { "version": 1, "flow": { "direction": "vertical" } } } }