{ "nodes": [ { "name": "Cron", "type": "n8n-nodes-base.cron", "position": [ 450, 300 ], "parameters": { "triggerTimes": { "item": [ { "mode": "custom", "cronExpression": "0 0 17 28 9 *" } ] } }, "typeVersion": 1, "id": "session-feedback-to-mattermost-0" }, { "name": "Google Sheets", "type": "n8n-nodes-base.googleSheets", "position": [ 650, 300 ], "parameters": { "range": "Sessions!A:D", "options": {}, "sheetId": "YOUR_SPREADSHEET_ID", "authentication": "oAuth2" }, "typeVersion": 1, "id": "session-feedback-to-mattermost-1" }, { "name": "Mattermost", "type": "n8n-nodes-base.mattermost", "position": [ 850, 300 ], "parameters": { "message": "= Hey @channel, we hope you had a great time at **{{$node[\"Google Sheets\"].json[\"Session\"]}}**.\nLet us know how we did by sharing your feedback with us on the link below!", "channelId": "={{$node[\"Google Sheets\"].json[\"Mattermost Channel ID\"]}}", "attachments": [ { "title": "=Feedback Form - {{$node[\"Google Sheets\"].json[\"Session\"]}}", "title_link": "={{$node[\"Google Sheets\"].json[\"Feedback Form Link\"]}}" } ], "otherOptions": {} }, "typeVersion": 1, "id": "session-feedback-to-mattermost-2" } ], "connections": { "Cron": { "main": [ [ { "node": "Google Sheets", "type": "main", "index": 0 } ] ] }, "Google Sheets": { "main": [ [ { "node": "Mattermost", "type": "main", "index": 0 } ] ] } }, "name": "Session Feedback to Mattermost", "settings": { "timezone": "UTC" }, "active": false, "pinData": {} }