TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

The node interacts with the TeleFlow API to manage various resources, including tenants. Specifically, for the Tenant - Update operation, it updates an existing tenant's information by sending a PUT request to the TeleFlow API with the tenant's unique ID and new data fields.

This node is useful in scenarios where you need to programmatically modify tenant details within TeleFlow, such as updating the tenant's name after organizational changes or correcting data entry errors. For example, if your system manages multiple tenants and you want to automate tenant updates based on external triggers or workflows, this node can be integrated to perform those updates seamlessly.

Properties

Name Meaning
ID The unique identifier of the tenant to update. Required to specify which tenant to modify.
Name The new name for the tenant. A descriptive name to update the tenant's current name.
Fields Additional field-value pairs to include in the request (not typically used in update).

Note: For the update operation on the Tenant resource, only the ID and Name properties are relevant and required.

Output

The node outputs the JSON response returned by the TeleFlow API after the update operation. This typically includes the updated tenant object reflecting the new values set during the update.

Example output structure (simplified):

{
  "id": "tenant-id",
  "name": "Updated Tenant Name",
  // other tenant properties as returned by the API
}

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to the TeleFlow API.
  • Needs an API authentication token or key configured in n8n credentials to authorize requests.
  • The base URL for the TeleFlow API must be set in the node credentials configuration.

Troubleshooting

  • Missing ID Error: If the ID property is not provided for the update operation, the node will throw an error stating that the ID is required. Ensure the ID of the tenant to update is correctly specified.
  • API Request Failures: Network issues, invalid credentials, or incorrect base URL configurations can cause HTTP request failures. Verify API credentials and endpoint settings.
  • Invalid Field Values: Providing invalid or unsupported field names/values may result in API errors. Confirm that the "Name" value meets TeleFlow's requirements.
  • Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.

Links and References

Discussion