Structure
- Action.py β Implementation.
- README β Purpose, I/O, examples.
- requirements.txt β PureβPython dependencies (no binary installs).
Contract
- Inputs β Typed, minimal, documented.
- Outputs β Deterministic structure; document edge cases.
Workflow
- Define input/output and write
Action.py. - Pin dependencies in
requirements.txt. - Test with small Payloads via Execute.
- Reuse across Flows and as Agent tools.
Loop Support
Actions now support iterative execution with loops:- For loops β Iterate over collections and lists
- While loops β Continue until a condition is met
- Loop state management β Proper handling of iteration context and variables
OAuth Integration
Actions can access OAuth credentials for third-party API integrations:- Automatic token refresh before expiration
- Secure credential injection at runtime
- Multi-provider support (Google, GitHub, Slack, Microsoft, etc.)
- Token management handled by the platform
File Storage
Actions can save and retrieve files using the Storage system:save_file(filename, content, content_type)β Store a fileget_file(path)β Retrieve a fileβs content
warning: Dependencies β Only packages that do not require binary installs in the build image are supported.