TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

This node interacts with the TeleFlow API to perform various operations on different resources, including Device Templates. Specifically, for the "Device Template" resource and the "Create" operation, it allows users to create a new device template by sending specified fields to the TeleFlow API.

Common scenarios where this node is beneficial include automating the creation of device templates in bulk or integrating TeleFlow device template management into larger workflows, such as provisioning devices automatically when onboarding new users or updating device configurations programmatically.

For example, a user can define multiple field-value pairs describing the device template's properties and use this node to create the template in TeleFlow without manual intervention.

Properties

Name Meaning
Fields A collection of field-value pairs to include in the creation request. Users can add multiple fields specifying the name and value for each property of the device template.

The "Fields" property supports multiple entries, each consisting of:

  • Name: The field name (string).
  • Value: The corresponding field value (string).

This flexible structure allows specifying any number of custom fields required by the TeleFlow API for creating a device template.

Output

The node outputs an array of JSON objects, each representing the response from the TeleFlow API after creating a device template. The JSON output contains the details of the newly created device template 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 credentials.
  • The node uses HTTP requests to communicate with the TeleFlow API endpoints.

Troubleshooting

  • Missing Required Fields: If mandatory fields for creating a device template are not provided, the API may return errors. Ensure all necessary fields are included in the "Fields" property.
  • API Authentication Errors: Incorrect or missing API credentials will cause authentication failures. Verify that the API key and base URL are correctly set in the node credentials.
  • Network Issues: Connectivity problems can lead to request timeouts or failures. Check network access to the TeleFlow API endpoint.
  • Error Messages: The node throws errors if required parameters like IDs are missing for other operations; for "create" on device templates, ensure fields are properly defined. If the node is set to continue on fail, errors will be returned in the output JSON under an error property.

Links and References

Discussion