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
- Triggers when an Inistate entry changes into the selected state (for example, “Pending Approval”).
- Fetches the full entry details from Inistate and checks whether the configured “Approve” activity is currently available.
- Builds an approval email containing the entry metadata and field values, then sends it via SMTP with Approve/Reject buttons and waits up to the configured number of days for a response.
- If no response arrives before the timeout, the workflow stops without updating Inistate.
- After a response, re-reads the entry from Inistate and verifies that the selected approve/reject activity is still available (so it does not overwrite changes made while waiting).
- Performs the matching Inistate activity to approve or reject the entry.
Setup
- Add an Inistate credential and select the same Inistate workspace and module in every Inistate node, then choose the trigger state to monitor.
- Add an SMTP email credential for sending messages and set the approver email address and sender (“from”) address.
- Set the approve and reject activity names to exactly match the activity names in Inistate and configure the wait timeout in days.
- In the Inistate activity steps, select the correct approve/reject activities and fill any required activity fields for your module.