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 aviation-related information. Specifically, for the Company resource and the Get Contacts operation, it fetches a list of contacts associated with a specified company from the JetNet database.

This node is beneficial in scenarios where users need to enrich workflows with up-to-date contact information related to aviation companies, such as for sales outreach, customer support, or market research within the aviation industry.

Practical example:
A user can input a company ID to retrieve all contacts linked to that company, enabling automated follow-ups or integration into CRM systems.


Properties

Name Meaning
Tool Description Choose how to set the tool's description: either automatically based on the selected resource and operation, or manually by entering a custom description. Options: "Set Automatically", "Set Manually".
Description A text field to manually describe what this tool does. This helps language models understand the tool’s purpose better. 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 a JSON string containing:

  • success: Boolean indicating if the API call was successful.
  • resource: The resource used ("company").
  • operation: The operation performed ("getContacts").
  • data: The actual response data from JetNet API, which in this case is the list of contacts associated with the specified company.
  • timestamp: ISO timestamp of when the response was generated.

Example output structure (formatted for clarity):

{
  "success": true,
  "resource": "company",
  "operation": "getContacts",
  "data": [
    {
      "contactId": "...",
      "firstName": "...",
      "lastName": "...",
      "email": "...",
      "phoneNumber": "...",
      // other contact fields as provided by JetNet
    },
    ...
  ],
  "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.
  • 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 JetNet endpoints under https://customer.jetnetconnect.com.

Troubleshooting

  • Missing Company ID Error:
    If the company ID is 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:
    Errors like "Unknown company operation: getContacts" or "Unknown resource: company" indicate misconfiguration of resource or operation names. Verify these are correctly set.

  • API Authentication Failures:
    If the API tokens are invalid or expired, requests will fail. Check your API credentials and refresh tokens if necessary.

  • Network Issues:
    Connectivity problems to the JetNet API endpoint may cause timeouts or failures. Confirm network access and endpoint availability.


Links and References

  • JetNet Official Website — For more information about the data service.
  • JetNet API documentation (not publicly included here) — Consult your JetNet account for detailed API specs and authentication setup.

Discussion