JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Overview

The node provides access to JetNet aviation industry data, specifically enabling retrieval of detailed information about companies, aircraft, contacts, and market intelligence. For the Company resource with the Get Related Companies operation, it fetches companies related to a specified company from the JetNet database.

This node is beneficial in scenarios where users need to explore business relationships within the aviation sector, such as identifying partner companies, competitors, or subsidiaries related to a given company. For example, an aviation analyst could use this node to gather data on all companies connected to a particular airline or maintenance provider to understand its network and influence.

Properties

Name Meaning
Tool Description Choose how to set the tool's description:
- Set Automatically: The description is auto-generated based on the selected resource and operation.
- Set Manually: Allows manual input of a custom description explaining what the tool does.
Description A text field to manually describe the tool’s purpose and capabilities. This appears only if "Set Manually" is chosen for Tool Description. Default: "Access JetNet aviation industry data including aircraft specifications, company information, contact details, and market intelligence".

Output

The node outputs a JSON object containing:

  • success: Boolean indicating if the API call was successful.
  • resource: The resource type used ("company").
  • operation: The operation performed ("getRelatedCompanies").
  • data: The actual response data from JetNet API representing the related companies information.
  • timestamp: ISO string timestamp of when the response was generated.

If the API call fails, the output JSON includes:

  • success: false
  • error: Error message describing the failure.
  • resource, operation, and timestamp fields as above.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the JetNet service.
  • The node makes HTTP requests to the JetNet API endpoint at https://customer.jetnetconnect.com.
  • Proper configuration of the API authentication token and bearer token is necessary in n8n credentials settings.

Troubleshooting

  • Missing Company ID: The operation requires a valid company ID. If not provided, the node throws an error: "Company ID is required for this operation".

    • Resolution: Ensure the input includes a valid companyId or id parameter.
  • Unknown Resource or Operation: If an unsupported resource or operation is specified, the node throws errors like "Unknown company operation" or "Unknown resource".

    • Resolution: Verify that the resource is set to "company" and the operation to "getRelatedCompanies".
  • Authentication Errors: Failure to authenticate with JetNet API due to missing or invalid credentials will cause request failures.

    • Resolution: Check that the API key credential is correctly configured and active.
  • API Request Failures: Network issues or JetNet API downtime can cause errors.

    • Resolution: Retry later or check network connectivity.

Links and References

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

Discussion