JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Market → Get State List

AI-generated

Overview

This node provides access to JetNet aviation market intelligence data, specifically for the "Market" resource and the "Get State List" operation. It retrieves a list of states relevant to the aviation industry from the JetNet database. This can be useful in scenarios where you need standardized state information for filtering, reporting, or enriching aviation-related datasets.

Practical examples include:

  • Populating dropdowns or selection lists with valid state options in aviation applications.
  • Validating or normalizing address data related to aviation companies, contacts, or airports.
  • Integrating state-level market intelligence into broader aviation analytics workflows.

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.
Description (Shown only if "Set Manually" is chosen) A text field to provide a specific description of what this tool does, helping language models produce better results. Default: "Access JetNet aviation industry data including aircraft specifications, company information, contact details, and market intelligence".

Output

The node outputs a JSON object with the following structure:

{
  "success": true,
  "resource": "market",
  "operation": "getStateList",
  "data": [ /* array of state objects or strings as returned by JetNet API */ ],
  "timestamp": "ISO 8601 timestamp string"
}
  • success: Indicates whether the API call was successful.
  • resource: The resource queried ("market").
  • operation: The operation performed ("getStateList").
  • data: Contains the list of states retrieved from JetNet. The exact structure depends on the API response but typically includes state names and possibly codes.
  • timestamp: The time when the response was generated.

No binary data output is involved.

Dependencies

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

Troubleshooting

  • Common issues:
    • Missing or invalid API credentials will cause authentication failures.
    • Network connectivity problems may prevent reaching the JetNet API.
    • Selecting an unsupported resource or operation will throw errors.
  • Error messages:
    • "Unknown resource: market": Occurs if the resource parameter is incorrect or not supported.
    • "Unknown market operation: getStateList": Would occur if the operation name is misspelled or not implemented.
    • "An unknown error occurred": Generic fallback for unexpected errors; check network and credentials.
  • Resolution tips:
    • Verify that the API credentials are correctly set up in n8n.
    • Ensure the resource is set to "market" and operation to "getStateList".
    • Check internet connectivity and JetNet service status.
    • Review the spelling and casing of parameters.

Links and References

Discussion