0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions108

Overview

The node "0CodeKit" provides a versatile toolbox of no-code utilities organized by Resources and Operations. Specifically, for the Resource Operator and Operation Parse URL Query, this node extracts and parses the query parameters from a given URL string.

This operation is useful when you want to analyze or manipulate URL query strings within your workflow, such as extracting UTM parameters for marketing analytics, parsing parameters for routing logic, or simply breaking down URLs into their components for further processing.

Example use cases:

  • Extracting campaign tracking parameters (e.g., utm_source, utm_medium) from URLs.
  • Parsing any URL query string to access individual key-value pairs.
  • Preparing URL data for conditional logic or database storage.

Properties

Name Meaning
Code Variables A collection of code variables where each variable has a name (selected from defined code variables) and a value. These can be used to pass dynamic values into the code execution context.
Url The URL string whose query parameters you want to parse. This is a required input for the Parse URL Query operation under the Operator resource.

Output

The output of the node is a JSON array containing the parsed results from the URL query string. Each item in the output corresponds to one input item processed.

  • The json field contains an object representing the parsed query parameters as key-value pairs extracted from the provided URL.
  • If multiple inputs are processed, the output will be an array of such objects.
  • The node does not explicitly output binary data for this operation.

Dependencies

  • Requires an API key credential for the "0CodeKit" service to authenticate requests.
  • The node sends POST requests to the endpoint corresponding to the resource and operation (operator/parseurlquery) with the URL parameter.
  • No additional environment variables or configurations are explicitly required beyond the API key credential.

Troubleshooting

  • Invalid URL format: If the provided URL is malformed or empty, the node may throw an error or return unexpected results. Ensure the URL is properly formatted.
  • API authentication errors: Missing or invalid API credentials will cause request failures. Verify that the API key credential is correctly configured.
  • Empty query string: If the URL has no query parameters, the output JSON may be empty or contain no keys.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error messages in the output JSON.

Links and References

  • n8n Expressions Documentation — for using expressions in variable definitions.
  • 0CodeKit official documentation (not linked here due to lack of explicit URL in source).

Discussion