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 information related to aviation companies, aircraft, contacts, and market intelligence. Specifically, for the Company resource and the Get Aircraft Relationships operation, it fetches all aircraft relationships associated with a given company from the JetNet database.

Use cases include:

  • Aviation industry analysts wanting to understand which aircraft are linked to a particular company.
  • Business development teams researching company fleets or partnerships.
  • Data enrichment workflows that require up-to-date aircraft-company relationship data.

Example: Given a company ID, the node can return all aircraft connected to that company, enabling insights into fleet composition or operational scope.

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: You provide a custom description to explain what the tool does.
Description A text field to manually describe the tool’s purpose. This is only shown if "Set Manually" is selected for Tool Description. Default: "Access JetNet aviation industry data including aircraft specifications, company information, contact details, and market intelligence".

Output

The node outputs JSON data structured as follows:

{
  "success": true,
  "resource": "company",
  "operation": "getAircraftRelationships",
  "data": { /* aircraft relationships data from JetNet API */ },
  "timestamp": "2024-06-xxTxx:xx:xx.xxxZ"
}
  • success: Boolean indicating if the API call was successful.
  • resource: The resource queried ("company").
  • operation: The operation performed ("getAircraftRelationships").
  • data: Contains the aircraft relationships information returned by JetNet for the specified company.
  • timestamp: ISO timestamp of when the response was generated.

If an error occurs, the output JSON will contain:

{
  "success": false,
  "error": "Error message describing the problem",
  "resource": "company",
  "operation": "getAircraftRelationships",
  "timestamp": "2024-06-xxTxx:xx:xx.xxxZ"
}

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the JetNet API service.
  • Must be configured with valid API credentials (an API key and bearer token) for authentication.
  • The node uses HTTP requests to JetNet endpoints under the base URL https://customer.jetnetconnect.com.
  • Proper n8n credential setup for the JetNet API is necessary.

Troubleshooting

  • Missing Company ID: The operation requires a company ID (companyId or id). If not provided, the node throws an error: "Company ID is required for this operation". Ensure you supply a valid company identifier.
  • Unknown Operation or Resource: If the resource or operation name is incorrect or unsupported, errors like "Unknown company operation" or "Unknown resource" may occur. Verify the resource and operation names match supported values.
  • Authentication Errors: If API credentials are invalid or expired, the node will fail to authenticate. Check your API key and bearer token configuration.
  • Network Issues: Connectivity problems to the JetNet API endpoint can cause request failures. Confirm network access and endpoint availability.
  • API Rate Limits or Quotas: Excessive requests might be throttled by JetNet. Monitor usage and adhere to API limits.

Links and References

Discussion