Lowcoder icon

Lowcoder

Consume Lowcoder API

Overview

This node, named "Lowcoder," is designed to consume the Lowcoder API by acting as a webhook listener for HTTP requests directed at a specified Lowcoder app or module. It allows workflows in n8n to be resumed when an external event triggers the webhook URL associated with a particular Lowcoder app.

Common scenarios where this node is beneficial include:

  • Integrating Lowcoder apps/modules with n8n workflows to automate processes based on events occurring in Lowcoder.
  • Resuming paused workflows upon receiving HTTP requests from Lowcoder or other services.
  • Filtering incoming webhook requests to ignore bots or unwanted traffic.

Practical example:

  • A user configures a Lowcoder app to send a POST request to the webhook URL generated by this node whenever a new record is created. The workflow resumes and processes the data accordingly.

Properties

Name Meaning
Select App or Module The ID of the Lowcoder app or module to listen to. Can be selected from a list or entered manually.
Webhook HTTP Method The HTTP method (DELETE, GET, HEAD, PATCH, POST, PUT) that the webhook will listen for.
Options Additional options:
- Ignore Bots Whether to ignore requests from bots like link previewers and web crawlers (true/false).

Output

The node outputs JSON data containing details about the incoming HTTP request that triggered the webhook. The structure includes:

  • headers: The HTTP headers sent with the request.
  • params: URL parameters.
  • query: Query string parameters.
  • body: The parsed body of the request (if any).

No binary data output is indicated.

Example output JSON structure:

{
  "headers": { /* HTTP headers object */ },
  "params": { /* URL parameters object */ },
  "query": { /* Query parameters object */ },
  "body": { /* Parsed request body */ }
}

Dependencies

  • Requires an API key credential for authenticating with the Lowcoder API.
  • Uses the isbot library to detect bot user agents if the "Ignore Bots" option is enabled.
  • The node depends on n8n's webhook infrastructure to receive HTTP requests.
  • No additional environment variables are explicitly required beyond standard n8n setup.

Troubleshooting

  • Issue: Incoming webhook requests are rejected with an authorization error.

    • Cause: The node attempts to block bot requests if "Ignore Bots" is enabled and the user-agent matches known bots.
    • Resolution: Disable "Ignore Bots" if legitimate requests are being blocked or ensure that the requests come from valid clients.
  • Issue: Workflow does not resume after sending a request to the webhook URL.

    • Cause: The HTTP method used might not match the configured webhook HTTP method.
    • Resolution: Verify that the HTTP method of the request matches the one set in the node properties.
  • Issue: Invalid Lowcoder App ID error when entering the app ID manually.

    • Cause: The app ID does not match the required regex pattern (alphanumeric, at least 2 characters).
    • Resolution: Ensure the app ID is correctly copied and matches the expected format.

Links and References

Discussion