Binance icon

Binance

Consume Binance API

Custom → Execute Custom Function

AI-generated

Overview

This node allows users to execute a custom function by specifying the function name or ID and providing parameters in JSON format. It is useful for running user-defined functions dynamically within an n8n workflow, enabling flexible and customized automation scenarios.

Use Case Examples

  1. Executing a custom function to process data with specific parameters.
  2. Running a user-defined function to interact with an external API or service based on dynamic inputs.

Properties

Name Meaning
Function Name or ID The identifier or name of the custom function to execute. Users can select from a list or specify an ID using an expression.
Parameters The parameters to pass to the custom function, provided in JSON format.

Output

JSON

  • result - The output or result returned by the executed custom function.

Troubleshooting

  • Ensure the function name or ID is correctly specified and matches an existing custom function.
  • Verify that the parameters are valid JSON and conform to the expected input format of the custom function.
  • Common errors may include invalid JSON syntax in parameters or specifying a non-existent function name, which can be resolved by correcting the input values.

Links

Discussion