call_custom_block(Args{target_component_id: "..."})
Call Custom Block
BlockLogic
Call a custom block and use its returned outputs.
- Its inputs and outputs are the ones defined by the custom block it runs.
Inputs
Custom BlockRequired
The custom block to call.
Build a bot using blocks like Call Custom Block
Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.
Advanced Documentation
This documentation can be useful when using code mode. View as Markdown
ID:
call_custom_block- Takes the custom block's inputs/outputs as
Argskeys. See custom blocks.
Inputs
| Field | InventScript name | Value |
|---|---|---|
| Custom Block | target_component_id |
Example InventScript
More logic blocks
LoopRun the nested blocks a fixed number of times.While LoopRepeat blocks while a condition is true.If StatementCompare two values and run different blocks based on the result.Advanced ConditionalRun different blocks based on grouped comparisons.Conditional ValueCompare two values and output one of two values based on the result.FolderOrganize blocks into a folder. Creates a variable scope.BreakStop the current loop and continue with the blocks after it.ContinueSkip the rest of this loop iteration and move to the next one.Exit FlowStop the entire flow immediately. No further blocks will run.ReturnReturn outputs from the current custom block and stop executing it.