TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

This node interacts with the TeleFlow API to perform various operations on different resources, including creating new entries. Specifically, for the Tariff resource with the Create operation, it allows users to create a new tariff by sending specified fields to the TeleFlow system.

Typical use cases include automating the creation of tariffs in a telecom or billing system where tariffs define pricing or service plans. For example, a user might want to programmatically add new tariff plans based on external data or workflows without manually entering them into the TeleFlow interface.

Properties

Name Meaning
Fields A collection of field-value pairs to include in the create request. Users can add multiple fields specifying the name and value for each property relevant to the tariff being created.

The "Fields" property is a fixed collection allowing multiple entries, each with:

  • Name: The field name to set in the tariff.
  • Value: The corresponding value for that field.

Output

The node outputs an array of JSON objects, each representing the response from the TeleFlow API after creating a tariff. The JSON structure corresponds directly to the API's response for a newly created tariff object, typically including details such as the tariff ID, name, and other properties returned by the API.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests to the TeleFlow API.
  • The base URL for the TeleFlow API must be set in the credentials.
  • The node uses HTTP POST requests to the /tariffs endpoint of the TeleFlow API.

Troubleshooting

  • Missing Required Fields: If required fields for creating a tariff are not provided, the API may return errors. Ensure all mandatory tariff properties are included in the "Fields" collection.
  • Authentication Errors: If the API key or base URL is incorrect or missing, requests will fail. Verify the credential configuration.
  • API Request Failures: Network issues or invalid field values can cause errors. Check error messages logged by the node for details.
  • ID Requirement Errors: Although not applicable for create operation, other operations require IDs; ensure correct parameters are used per operation.

Links and References

  • TeleFlow API Documentation (Replace with actual URL if available)
  • n8n HTTP Request Node documentation for understanding how HTTP calls are made within nodes.

Discussion