Approve or reject Inistate entries via email using SMTP
UnknownWhat this workflow does
This workflow has 15 nodes and runs on Inistate events (state changed). Along the way it connects Inistate (community).
How it runs
Trigger: On Inistate events (state changed).
- Set Approval Parameters (Edit Fields (Set)): sets 5 fields: approverEmail, fromEmail, approveActivity…
- Fetch Entry Details (Inistate): get
- Check Approve Eligibility (If): checks a condition and branches into true / false
- Prepare Approval Email (Edit Fields (Set)): sets 2 fields: subject, message
- Send Approval Request Email (Send Email): sends an email over SMTP
- Check Email Response (If): checks a condition and branches into true / false
- Re-fetch Entry Status (Inistate): get
- Check Actionability Again (If): checks a condition and branches into true / false
- Check Approval Decision (If): checks a condition and branches into true / false
- Approve Entry in Inistate (Inistate): perform activity
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-inistate is verified or supports 3.0 (used in When Entry Pending Approval).
- Check that n8n-nodes-inistate is verified or supports 3.0 (used in Fetch Entry Details, Re-fetch Entry Status, Approve Entry in Inistate).
Nodes used (6)
- Inistate Trigger
n8n-nodes-inistate.inistateTrigger - Edit Fields (Set)
n8n-nodes-base.set - Inistate
n8n-nodes-inistate.inistate - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Send Email
n8n-nodes-base.emailSend
From the author
Quick overview This workflow triggers when an Inistate entry changes into a chosen approval state, emails an approver with Approve/Reject buttons via SMTP, and then performs the corresponding Inistate activity if the entry is still actionable. How it works 1.…