JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Overview

This node provides access to JetNet aviation industry data, specifically for the Contact resource with the Get Aircraft Relationships operation. It retrieves information about aircraft relationships associated with a particular contact in the JetNet database.

Typical use cases include:

  • Fetching all aircraft linked to a specific contact for analysis or reporting.
  • Integrating detailed contact-aircraft relationship data into aviation management workflows.
  • Enriching CRM or operational systems with up-to-date aviation contact relationships.

For example, you might use this node to get all aircraft related to a sales contact or maintenance coordinator, enabling targeted communication or asset tracking.

Properties

Name Meaning
Tool Description Choose how to set the tool description:
- Set Automatically: Description is auto-generated based on resource and operation.
- Set Manually: Provide a custom description explaining what the tool does.
Description A text field to manually describe the tool's purpose. This helps language models understand the tool better when "Set Manually" is selected. Default: Access JetNet aviation industry data including aircraft specifications, company information, contact details, and market intelligence

Output

The node outputs a JSON string containing:

  • success: Boolean indicating if the API call was successful.
  • resource: The resource name, here "contact".
  • operation: The operation performed, here "getAircraftRelationships".
  • data: The actual response data from JetNet API representing the aircraft relationships for the specified contact.
  • timestamp: ISO timestamp of when the response was generated.

Example output structure (formatted for clarity):

{
  "success": true,
  "resource": "contact",
  "operation": "getAircraftRelationships",
  "data": {
    // JetNet API response with aircraft relationships for the contact
  },
  "timestamp": "2024-06-XXTXX:XX:XX.XXXZ"
}

No binary data output is indicated by the source code.

Dependencies

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

Troubleshooting

  • Missing Contact ID: The operation requires a contact identifier (contactId or id). If not provided, the node throws an error:
    "Contact ID is required for this operation".
    Ensure you supply a valid contact ID parameter.

  • Unknown Operation or Resource: If an unsupported operation or resource is specified, errors like "Unknown contact operation" or "Unknown resource" will occur. Verify that the resource is "contact" and operation is "getAircraftRelationships".

  • API Authentication Errors: If credentials are invalid or missing, HTTP request failures will happen. Confirm that the API key and tokens are correctly configured in n8n.

  • Network Issues: Connectivity problems to the JetNet API endpoint can cause timeouts or errors. Check network access and proxy settings if applicable.

Links and References


This summary focuses on the Contact resource and Get Aircraft Relationships operation as requested.

Discussion