Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Bausteine & Hilfsmittel

Bausteine & Hilfsmittel

Create and wait for approval requests in Inistate from sub-workflows

When another workflow calls it, it provides a reusable building block using Inistate.

Was sie bewirkt

## 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.

Die Schritte

  1. Workflow Triggered
  2. Set Approval Parameters
  3. Initiate Approval Request
  4. Wait for Approval Interval
  5. Verify Approval Status
  6. Check Approval Decision
  7. Evaluate Waiting Condition
  8. Terminate on Max Checks
  9. Output Approval Decision

Ähnliche Automatisierungen