Actions145
- 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
- File Actions
- Flow Actions
- Flow Template Actions
- LCR Actions
- Mobile SIM Actions
- Number Port Actions
- Phone Number Actions
- Provision Actions
- Report Actions
- Reseller Actions
- SIP Trunk Actions
- Tariff Actions
- Tariff Code Actions
- Tariff Profile Actions
- Tenant Actions
- Tenant Audit Actions
- Transcription Actions
- User Actions
- Voice Actions
- Voice Mail Message Actions
Overview
This node interacts with the TeleFlow API to manage various resources, including Tariff Profiles. Specifically, the Create operation for the Tariff Profile resource allows users to create new tariff profiles by sending specified fields to the API.
Typical use cases include automating the creation of tariff profiles in a telecom or billing system where tariffs define pricing plans or rate structures. For example, a user might want to programmatically add new tariff profiles based on external data or business rules without manually using the TeleFlow interface.
Properties
| Name | Meaning |
|---|---|
| Fields | A collection of field-value pairs to include in the request body when creating the tariff profile. You can specify multiple fields, each with a name and corresponding value. |
The "Fields" property is a fixed collection allowing multiple entries, where each entry consists of:
- Name: The name of the field to set in the tariff profile.
- Value: The value to assign to that field.
This flexible structure lets you customize the tariff profile creation request with any supported fields.
Output
The node outputs an array of JSON objects, each representing the response from the TeleFlow API for the create operation. The JSON output contains the details of the newly created tariff profile as returned by the API.
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 requests to communicate with the TeleFlow REST API endpoints.
Troubleshooting
- Missing Required Fields: If required fields for creating a tariff profile are not provided, the API may return errors. Ensure all mandatory fields are included in the "Fields" property.
- API Authentication Errors: If the API key or base URL is incorrect or missing, authentication will fail. Verify the credential configuration.
- Invalid Field Names or Values: Providing unsupported or incorrectly named fields may cause the API to reject the request. Double-check field names against TeleFlow API documentation.
- Network Issues: Connectivity problems can cause request failures. Confirm network access to the TeleFlow API endpoint.
- Error Messages: The node throws errors if the API returns failure responses or if required parameters (like ID for other operations) are missing. When "Continue On Fail" is enabled, errors are returned as JSON error messages instead of stopping execution.
Links and References
- TeleFlow API Documentation (Replace with actual URL)
- n8n HTTP Request Node Documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/