Kütüphane / Yapı Taşları ve Yardımcı Araçlar
Yapı Taşları ve Yardımcı Araçlar
Create and wait for approval requests in Inistate from sub-workflows
When another workflow calls it, it provides a reusable building block using Inistate.
Ne yapar
## Wait for an approval in Inistate ### How it works This workflow is designed to be called by another n8n workflow to create an approval request in Inistate and wait for a final decision. It initializes polling settings, creates the request, then repeatedly waits and checks the request state. When the request reaches an approved or rejected state it returns the decision; if the maximum number of checks is reached, it stops with an error. ### Setup steps - Configure the Inistate credentials used by the Inistate nodes. - Review the Settings node and set the approvedState, rejectedState, checkEveryMinutes, and maxChecks values to match your Inistate process. - Ensure the parent workflow passes any required request or document data expected by the Create approval request node. - Confirm the Return decision node exposes the fields your calling workflow needs, such as approved, state, and documentId. ### Customization Adjust the polling interval and max check count to control how long the workflow waits before timing out, and update the approved/rejected state names if your Inistate workflow uses different labels.
Adımlar
- Workflow Triggered
- Set Approval Parameters
- Initiate Approval Request
- Wait for Approval Interval
- Verify Approval Status
- Check Approval Decision
- Evaluate Waiting Condition
- Terminate on Max Checks
- Output Approval Decision
Benzer otomasyonlar
E-posta OtomasyonuSend a daily digest of stale Inistate approvals via email6 adımE-posta OtomasyonuApprove or reject Inistate entries via email using SMTP15 adımYapı Taşları ve Yardımcı AraçlarAlt iş akışlarını paralel çalıştır ve tamamlanmasını bekle14 adımYapı Taşları ve Yardımcı AraçlarValidate and enrich refund approval requests in an n8n sub-workflow4 adım