Actions145
- User Actions
- Voice Actions
- File Actions
- Flow Actions
- Reseller Actions
- SIP Trunk Actions
- Transcription Actions
- Voice Mail Message Actions
- Account Actions
- Account Audit Actions
- Billing Entry Actions
- Call Detail Record Actions
- Carrier Actions
- Device Actions
- Device Template Actions
- Email Template Actions
- Feature Code Actions
- Flow Template Actions
- LCR Actions
- Mobile SIM Actions
- Number Port Actions
- Phone Number Actions
- Provision Actions
- Report Actions
- Tariff Actions
- Tariff Code Actions
- Tariff Profile Actions
- Tenant Actions
- Tenant Audit Actions
Overview
This node interacts with the TeleFlow API to perform various operations on different resources, including "Tariff Code". Specifically, for the Update operation on the Tariff Code resource, it updates an existing tariff code entry identified by its unique ID. This is useful in scenarios where you need to modify details of a tariff code, such as changing its name or other attributes.
Practical examples include:
- Updating the name or properties of a tariff code after changes in pricing or regulations.
- Correcting data entry errors in existing tariff codes.
- Automating tariff code maintenance workflows within a telecom or billing system.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the tariff code resource to update. This is required. |
| Fields | A collection of field-value pairs specifying which fields to update and their new values. |
The Fields property allows multiple entries, each consisting of:
- Name: The name of the field to update.
- Value: The new value to assign to that field.
This flexible structure lets users specify any number of fields to update on the tariff code.
Output
The node outputs an array of JSON objects representing the updated tariff code(s) returned from the TeleFlow API. Each output item contains the full JSON response from the API after the update operation, reflecting the current state of the tariff code resource.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the TeleFlow API.
- The base URL for the TeleFlow API must be configured in the node credentials.
- The node uses HTTP PUT requests to update resources via the TeleFlow REST API.
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 tariff code to update is specified.
- API request failures: Network issues, invalid credentials, or incorrect field names/values may cause the API request to fail. Check the API key validity, endpoint URL, and field names.
- Partial updates: Only fields included in the "Fields" collection are updated; others remain unchanged. Make sure all intended fields are included.
- Continue on Fail: If enabled, the node will continue processing subsequent items even if one update fails, returning error details in the output JSON.
Links and References
- TeleFlow API Documentation (Replace with actual URL)
- n8n HTTP Request Node documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
- General n8n node development guide: https://docs.n8n.io/integrations/creating-nodes/