Create and wait for approval requests in Inistate from sub-workflows
Quick overview
Description
Quick overview This sub-workflow is triggered by another n8n workflow, creates an approval request in Inistate, then periodically polls Inistate until the request is approved or rejected and returns the decision (approved flag, state, and documentId) to the calling workflow. How it works Triggers when another workflow calls it via Execute Workflow and passes input data through. Defines the approved/rejected state names plus the polling interval and maximum number of checks. Creates a new approval request entry in Inistate using the configured workspace and module. Waits for the configured number of minutes, then retrieves the request from Inistate by document ID. Checks whether the Inistate entry’s state matches the configured Approved or Rejected state. If a decision exists, returns approved/state/documentId to the calling workflow; otherwise it keeps waiting and polling until maxChecks is reached, then errors. Setup Add an Inistate credential and select the same Inistate workspace and module in both Inistate steps. Configure the approval request fields mapped into the Inistate “Create” step to match your module schema. Update the approvedState and rejectedState values to exactly match your Inistate state names, and adjust checkEveryMinutes and maxChecks to your desired timeout behavior. An n8n automation workflow template by Inistate.
Community Metrics
Author
Inistate
Platform
web
Pricing model
free
Categories
- Automation
Tags
- n8n
- workflow
Capabilities
- n8n workflow template