The workflow contract
1
Describe the operation
Name the source, task, and constraints. Search Actions for a concrete external operation. Search Skills when the missing piece is the procedure or decision sequence for a broader outcome.
2
Resolve exact identities
Copy the canonical Action name from search. Read
capabilities get for the current input and output schemas. Do not derive names from a provider label or reuse a dotted legacy alias.3
Check access and cost
Use Vault status to verify the required Integration is ready. Use
capabilities preflight to validate the exact input and estimate any Aident-managed cost without executing.4
Execute with the intended account
For multiple connected accounts, select the alias confirmed for this operation. Handle credit approval or Action acknowledgement only when the response requests it and the user approves the exact action.
5
Keep evidence
Save the response or a safe summary and inspect Audit. If a response is interrupted, check Audit before retrying. A write may have succeeded even when the caller lost its response.
Action and Skill discovery
Scope a production automation
- Give each step a clear input, expected output, and observed success condition.
- Keep read steps and write steps separate. Require the authorization appropriate to the write’s recipient, destination, and effect.
- Persist a request ID or external object ID from a successful write so retries can check whether it already happened.
- Store only the minimum data needed for the job. Keep provider credentials in Vault and avoid logging private Action payloads.
- Use Audit to reconcile failures and measure actual calls; use your application’s own monitoring for its orchestration logic.