{ "name": "Create a Twist Channel and Send a Message", "nodes": [ { "name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [ 470, 260 ], "parameters": {}, "typeVersion": 1, "id": "create-twist-channel-and-send-message-0" }, { "name": "Twist", "type": "n8n-nodes-base.twist", "position": [ 670, 260 ], "parameters": { "name": "n8n-docs", "resource": "channel", "workspaceId": 0, "additionalFields": { "user_ids": [ 0 ] } }, "typeVersion": 1, "id": "create-twist-channel-and-send-message-1" }, { "name": "Twist1", "type": "n8n-nodes-base.twist", "position": [ 870, 260 ], "parameters": { "resource": "channel", "channelId": "={{$node[\"Twist\"].json[\"id\"]}}", "operation": "update", "updateFields": { "description": "Discussion for documentation" } }, "typeVersion": 1, "id": "create-twist-channel-and-send-message-2" }, { "name": "Twist2", "type": "n8n-nodes-base.twist", "position": [ 1070, 260 ], "parameters": { "content": "={{ \"Hey [Recipient](twist-mention://\" + $node[\"Twist\"].parameter[\"additionalFields\"][\"user_ids\"][0] + \")!\\nYou have been added to the \" + $node[\"Twist\"].json[\"name\"] + \" channel.\\nClick on the button below to quickly navigate to the documentation website.\" }}", "workspaceId": 0, "conversationId": 0, "additionalFields": { "actionsUi": { "actionValues": [ { "url": "https://docs.n8n.io", "type": "action", "action": "open_url", "button_text": "Documentation site" } ] } } }, "typeVersion": 1, "id": "create-twist-channel-and-send-message-3" } ], "active": false, "settings": {}, "connections": { "Twist": { "main": [ [ { "node": "Twist1", "type": "main", "index": 0 } ] ] }, "Twist1": { "main": [ [ { "node": "Twist2", "type": "main", "index": 0 } ] ] }, "On clicking 'execute'": { "main": [ [ { "node": "Twist", "type": "main", "index": 0 } ] ] } }, "pinData": {} }