JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Overview

This node integrates with the JetNet aviation data service to retrieve detailed company-related information, specifically focusing on obtaining phone numbers associated with a company. It is designed for scenarios where users need to access verified contact details of aviation companies, such as for business development, customer support, or market research within the aviation industry.

For example, a user can input a company ID and use this node to fetch all phone numbers registered for that company in the JetNet database, enabling direct communication or integration into CRM systems.

Properties

Name Meaning
Tool Description Choose how to set the tool's description:
- Set Automatically: The description is generated based on the selected resource and operation.
- Set Manually: Allows manual entry of a custom description explaining what the tool does.
Description A text field to manually describe the tool’s purpose when "Set Manually" is selected. Defaults to a description about accessing JetNet aviation industry data including aircraft specifications, company info, contacts, and market intelligence.

Output

The node outputs a JSON object with the following structure:

{
  "success": true,
  "resource": "company",
  "operation": "getPhonenumbers",
  "data": { /* Phone numbers data from JetNet API */ },
  "timestamp": "2024-06-xxTxx:xx:xx.xxxZ"
}
  • success: Boolean indicating if the API call was successful.
  • resource: The resource queried, here always "company".
  • operation: The operation performed, here "getPhonenumbers".
  • data: Contains the phone numbers information retrieved from JetNet for the specified company.
  • timestamp: ISO string timestamp of when the response was generated.

The node does not output binary data; all results are returned as structured JSON.

Dependencies

  • Requires an active connection to the JetNet API service.
  • Needs an API authentication token and security token configured via n8n credentials (referred generically as "an API key credential").
  • The node makes HTTP requests to the JetNet endpoint https://customer.jetnetconnect.com.

Troubleshooting

  • Missing Company ID: The operation requires a valid company ID. If omitted, the node throws an error: "Company ID is required for this operation". Ensure the input includes a valid company identifier.
  • Authentication Errors: If API credentials are invalid or expired, the node will fail to authenticate. Verify that the API key and security token are correctly configured in n8n.
  • Unknown Resource or Operation: Using unsupported resources or operations will result in errors like "Unknown company operation" or "Unknown resource". Confirm that the resource is set to "Company" and operation to "Get Phone Numbers".
  • Network Issues: Connectivity problems to the JetNet API endpoint may cause request failures. Check network access and proxy settings if applicable.

Links and References

  • JetNet Official Website — For more information about the data service.
  • JetNet API documentation (not publicly linked here) — Consult your JetNet account representative for API details and usage guidelines.

Discussion