ZAppwrite icon

ZAppwrite

Use Appwrite's API from inside N8N, updated by @ZachHandley

Overview

The node allows updating a Textmagic messaging provider configuration within the Appwrite platform. This operation is useful for managing SMS or messaging service providers by modifying their credentials and settings without recreating them. Typical use cases include updating API keys, usernames, or enabling/disabling the provider to control message sending capabilities dynamically.

For example, if your Textmagic API key has rotated or changed, you can update it here to ensure uninterrupted SMS delivery through your workflows.

Properties

Name Meaning
Provider ID Unique identifier of the provider to update. Can be generated randomly or set manually.
Provider Name The display name of the Textmagic provider.
Enabled Boolean flag indicating whether the provider is enabled (true) or disabled (false).
Username The username credential for authenticating with Textmagic.
API Key The API key credential used to authenticate requests to Textmagic.

Output

The output is a JSON object representing the updated Textmagic provider resource as returned by the Appwrite API. It typically includes details such as the provider's ID, name, enabled status, and authentication credentials (masked or omitted for security).

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Appwrite API via configured credentials including:
    • Appwrite API URL
    • Project ID
    • API Key credential for authentication
  • The node depends on the Appwrite SDK and internal helper functions to perform the update operation.

Troubleshooting

  • Invalid Provider ID: If the specified Provider ID does not exist, the node will throw an error indicating the provider was not found. Verify the ID before running.
  • Authentication Errors: Incorrect or expired API keys or usernames will cause authentication failures. Ensure credentials are valid and have sufficient permissions.
  • Network Issues: Connectivity problems with the Appwrite server will result in request timeouts or failures. Check network access and Appwrite server status.
  • Missing Required Fields: Omitting required fields like Provider ID or Provider Name will cause validation errors. Make sure all mandatory inputs are provided.

Links and References

Discussion