Appwrite icon

Appwrite

A comprehensive node for the Appwrite API

Overview

This node interacts with the Appwrite API to manage serverless functions and their executions. Specifically, the "Get Execution" operation under the "Function" resource retrieves details about a specific execution of a function by its execution ID. This is useful for monitoring, debugging, or auditing function runs within an Appwrite project.

Practical examples include:

  • Fetching the status and output of a previously triggered function execution.
  • Retrieving logs or error messages from a specific function run.
  • Integrating function execution data into workflows for conditional processing or notifications.

Properties

Name Meaning
Function ID Unique identifier of the function to operate on. Use "unique()" to auto-generate when creating a new function.
Execution ID The unique identifier of the specific function execution to retrieve.

Output

The node outputs JSON data representing the details of the requested function execution. This typically includes information such as execution status, timing, result data, and any error messages related to that execution.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential configured in n8n to authenticate with the Appwrite API.
  • Depends on the Appwrite service being accessible and properly configured with the target functions deployed.

Troubleshooting

  • Common issues:

    • Invalid or missing Function ID or Execution ID will cause errors.
    • Network connectivity problems or incorrect API credentials can prevent successful API calls.
    • Requesting an execution ID that does not exist or belongs to another function may return errors or empty results.
  • Error messages:

    • Errors returned from the Appwrite API are wrapped and surfaced by the node. They may include HTTP status codes and descriptive messages.
    • If the node throws an error indicating authentication failure, verify the API key credential configuration.
    • For "not found" errors, confirm that the provided Function ID and Execution ID are correct and exist in your Appwrite project.

Links and References

Discussion