Syntracts icon

Syntracts

Interact with Syntracts API

Overview

This node provides an interface to interact with the Syntracts API, specifically allowing users to perform HTTP POST requests under the "Syntracts Verb" resource. It is designed to send query parameters dynamically as part of the request, enabling flexible communication with the Syntracts service.

Common scenarios include:

  • Sending customized queries to Syntracts endpoints where parameters vary per use case.
  • Automating interactions with Syntracts by programmatically specifying query parameters.
  • Integrating Syntracts API calls into larger workflows that require dynamic parameterization.

For example, a user might want to send a POST request with specific key-value pairs as query parameters to trigger certain actions or retrieve filtered data from Syntracts.

Properties

Name Meaning
Test Parameter Selects the type of data to send; currently only supports "Query" which means sending query parameters.
Syntracts Parameters A collection of key-value pairs representing the query parameters to be sent in the POST request. Each entry requires a "Key" (parameter name) and a "Value" (parameter value).

Output

The node outputs JSON data received from the Syntracts API response. The structure of this JSON depends on the API endpoint's response but generally contains the result of the POST request made with the specified query parameters.

If the API returns binary data, it would be handled accordingly, but based on the provided code and properties, the primary output is JSON.

Dependencies

  • Requires access to the Syntracts API endpoint at https://ec56-207-237-187-100.ngrok-free.app/.
  • Optionally uses an API authentication token or key credential for Syntracts if configured (not mandatory as per the code).
  • No additional external libraries beyond standard n8n dependencies are required.

Troubleshooting

  • Issue: No response or empty response from the API.

    • Cause: Incorrect or missing query parameters.
    • Resolution: Verify that all required keys and values are correctly set in the "Syntracts Parameters" property.
  • Issue: Authentication errors.

    • Cause: Missing or invalid API credentials.
    • Resolution: Ensure that a valid API key or authentication token is configured in the node credentials if required by the Syntracts API.
  • Issue: Network or connection errors.

    • Cause: The base URL may be unreachable or incorrect.
    • Resolution: Confirm the base URL is correct and accessible from your environment.
  • Error Messages: The node may throw errors related to invalid parameters or failed HTTP requests. Review the error message details to adjust parameters or check connectivity.

Links and References

Discussion