Call functions and methods

Call platform functions and object methods and capture the return value

The Call block runs curated Neurallux functions and methods. You configure inputs; the block returns a value you can store in variables and reuse later in the workflow.

Block modes

Function

Pick a built-in platform function (dialogs, messages, service helpers, and more).

  • Set Call type to Function.
  • Choose the operation in the Function dropdown.
  • Configure arguments in the Parameters section below.

Object method

Call a method on a specific object—a chat, a message, or output from a previous block.

  • Set Call type to Object method.
  • Pick Object type—inline hints help you choose the right one.
  • Fill Object with a variable or expression (for example {{chat}}).
  • Choose Method from the list available for that object type.

Parameters

Main fields

  • Call type — choose Function or Object method.
  • Function / Method — available operations for the selected mode.
  • Object — variable or expression the method runs on (Object method only).

Substitute values with variables like {{variable_name}}. {{variable_name}}.

Arguments and overloads

  • The Parameters section lists every argument for the chosen function or method—required ones are marked with a red asterisk.
  • Some operations expose multiple signatures—switch between them with Argument type.
  • Variadic functions include an Add argument control.
  • The preview at the bottom shows the final call expression that will be sent to the server.

Result and variable export

When a function or method returns a value, you can store it in one or more variables for downstream blocks.

In the UI this lives under Save result to variable—enter names such as result or user_info.

Some methods mutate the object in place and do not return a separate payload. The UI shows a warning and disables result export in that case.

That is expected: side effects still apply inside the workflow; you simply do not get an extra result variable.

Examples

Load account dialogs

Fetch the dialog list into a variable for filtering or looping.

Call:
get_dialogs()
Export:
dialogs

Fetch user info

Pass a user ID and store the returned structure for personalization or analysis.

Call:
get_user({{user_id}})
Export:
user_info

Call a method on a chat object

Use a chat from a variable and invoke a method—for example to adjust settings or send a message.

Call:
{{chat}}.some_method(...)
Export:
result