Actions82
- 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
Overview
The node interacts with the TeleFlow API to perform various operations on different resources. Specifically, for the File resource with the Get Many operation, it retrieves multiple file records from the TeleFlow system. This is useful when you want to fetch a list of files matching certain criteria or filters.
Common scenarios include:
- Retrieving all files or a filtered subset based on specific fields.
- Automating workflows that require batch processing or analysis of multiple files.
- Integrating TeleFlow file data into other systems or dashboards.
For example, you might use this node to get all files created after a certain date or files with a particular name pattern by specifying those as filter fields.
Properties
Name | Meaning |
---|---|
Fields | A collection of field-value pairs used to filter the files returned by the API request. You can add multiple fields to narrow down the query results. For each field, specify the field name and the value to match. |
Example of Fields
property JSON structure:
{
"field": [
{
"name": "name",
"value": "example.txt"
},
{
"name": "type",
"value": "pdf"
}
]
}
Output
The output is an array of JSON objects representing the files retrieved from the TeleFlow API. Each object corresponds to a file record and contains the properties returned by the API according to the requested fields.
- The
json
output field holds the file data. - No binary data output is indicated in the code for this operation.
Example output snippet:
[
{
"id": "file_123",
"name": "example.txt",
"type": "text/plain",
"createdAt": "2024-01-01T12:00:00Z"
},
{
"id": "file_456",
"name": "report.pdf",
"type": "application/pdf",
"createdAt": "2024-02-15T08:30:00Z"
}
]
Dependencies
- Requires an API key credential for authenticating with the TeleFlow API.
- The base URL for the API must be configured in the node credentials.
- The node uses HTTP requests to communicate with the TeleFlow REST API.
Troubleshooting
- Missing or invalid API credentials: Ensure the API key and base URL are correctly set in the node credentials.
- Invalid field names or values: If filtering fields do not match the API's expected parameters, the request may return empty results or errors.
- ID required errors: Although not applicable for "Get Many," other operations require an ID parameter; ensure IDs are provided where necessary.
- Network issues or API downtime: Check connectivity and TeleFlow service status if requests fail unexpectedly.
- Error messages: The node logs error messages and can continue on failure if configured, returning error details in the output JSON.
Links and References
- TeleFlow API Documentation (replace with actual URL)
- n8n HTTP Request Node documentation for understanding underlying request mechanics: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/