Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Functions → Create Execution
AI-generatedOverview
This node interacts with the Appwrite API to create an execution of a specified function. It is useful for triggering serverless functions hosted on Appwrite, allowing users to run custom backend code in response to events or workflows. For example, it can be used to automate data processing, send notifications, or integrate with other services by executing a function with custom input data.
Use Case Examples
- Trigger a function to process user data after form submission.
- Execute a backend function asynchronously to handle time-consuming tasks without blocking the workflow.
Properties
| Name | Meaning |
|---|---|
| Function ID | The ID of the function to execute, required to identify which function to run. |
| Options | Additional parameters for the function execution, including request body, async execution flag, HTTP path, method, and headers. |
Output
JSON
response- The response from the function execution, including any returned data or status information.
Dependencies
- Appwrite API with endpoint, project ID, and API key credentials
Troubleshooting
- Ensure the Function ID is correct and the function exists in the Appwrite project.
- Verify that the API credentials (endpoint, project ID, API key) are valid and have necessary permissions.
- If executing asynchronously, be aware that the node returns immediately and does not wait for function completion.
- Check the format of the request body and headers to ensure they are valid JSON.
- Common errors include authentication failures, invalid function ID, or network connectivity issues.
Links
- Appwrite Functions Documentation - Official documentation for managing and executing functions in Appwrite.