Handle support reply approvals with Slack, Gmail and Google Sheets
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail and Google Sheets. It also calls slack.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Parse Slack Approval Action (Code): runs custom JavaScript code
- Lookup Tickets (Google Sheets): uses Google Sheets
- Prepare Ticket Decision Context (Edit Fields (Set)): sets or maps fields
- Route Approval Decision (Switch): routes items into 3 branches
- Reply to a message (Gmail): reply
- Update Sheet: Needs Edit (Google Sheets): update
- Update Sheet: Rejected (Google Sheets): update
- Update Sheet: Approved (Google Sheets): update
- Slack: Update Needs Edit Message (HTTP Request): calls slack.com (POST)
- Slack: Update Rejected Message (HTTP Request): calls slack.com (POST)
…plus 1 more step. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
HTTP calls to: slack.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - Webhook
n8n-nodes-base.webhook - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick Overview This workflow receives Slack interactive button clicks for support ticket approvals, looks up the matching ticket in Google Sheets, and then either replies to the customer via Gmail or records a Needs Edit/Rejected decision and updates the…