{"product_id":"n8n-inistate-approval-workflow-smtp-approve-reject-emails","title":"n8n Inistate Approval Workflow: SMTP Approve\/Reject Emails","description":"\u003ch3\u003eAutomatically approve or reject Inistate entries by email (with SMTP buttons)\u003c\/h3\u003e\n\u003cp\u003eIf an \u003cstrong\u003eInistate\u003c\/strong\u003e entry moves into your chosen approval state, this n8n workflow sends an \u003cstrong\u003eSMTP email\u003c\/strong\u003e to an approver with \u003cstrong\u003eApprove\u003c\/strong\u003e and \u003cstrong\u003eReject\u003c\/strong\u003e buttons—then updates the entry only when a valid response is received within your configured timeout.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on state change:\u003c\/strong\u003e It starts when an Inistate entry changes into the selected approval state (e.g., “Pending Approval”).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates the action is still available:\u003c\/strong\u003e It fetches the full entry details from Inistate and checks whether the configured “Approve” activity is currently available.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends an approval email via SMTP:\u003c\/strong\u003e The workflow builds an email containing entry metadata and field values, sends it through \u003cstrong\u003eSMTP\u003c\/strong\u003e, and includes \u003cstrong\u003eApprove\/Reject buttons\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWaits for a response:\u003c\/strong\u003e It waits up to the configured number of days for the approver response.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTimeout-safe behavior:\u003c\/strong\u003e If no response arrives before the timeout, the workflow stops and \u003cstrongdoes not update inistate\u003e.\u003c\/strongdoes\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents overwriting changes:\u003c\/strong\u003e After a response, it re-reads the entry from Inistate and verifies the same approve\/reject activity is still available.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApplies the matching activity:\u003c\/strong\u003e Finally, it performs the correct Inistate approve or reject activity for the entry.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBusiness approvals:\u003c\/strong\u003e Route requests (tracked in Inistate) to an approver who can confirm via email buttons.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eControlled review windows:\u003c\/strong\u003e Use the timeout to ensure approvals happen within a defined SLA.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChange-safe approvals:\u003c\/strong\u003e If the entry changes while waiting, the workflow re-checks activity availability before applying updates.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInistate integration:\u003c\/strong\u003e Uses the \u003cstrong\u003en8n-nodes-inistateinistate\u003c\/strong\u003e node to trigger on state changes and perform approve\/reject activities.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogic nodes:\u003c\/strong\u003e Uses \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, and \u003cstrong\u003eno op\u003c\/strong\u003e to control flow based on activity availability and response timing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEmail delivery:\u003c\/strong\u003e Uses \u003cstrong\u003eemail send\u003c\/strong\u003e with an \u003cstrong\u003eSMTP\u003c\/strong\u003e credential, configurable “from” address and approver email address.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow notes:\u003c\/strong\u003e Includes a \u003cstrong\u003esticky note\u003c\/strong\u003e for setup guidance.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup reminder:\u003c\/strong\u003e Configure approve and reject activity names to exactly match those in Inistate, and select the same Inistate workspace\/module in every Inistate node.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46153948168371,"sku":"N8N-20318","price":21.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/jerUEeTfLvqr6RUMmYNaV_iuNVuOnv.png?v=1790931916","url":"https:\/\/buyflowscripts.com\/products\/n8n-inistate-approval-workflow-smtp-approve-reject-emails","provider":"N8N Commerce","version":"1.0","type":"link"}