{
}
BlockLogic
Organize blocks into a folder. Creates a variable scope.
Inputs
Contents
Contents
Holds blocks
Build a bot using blocks like Folder
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.
ID:
folderInputs
| Field | InventScript name | Value |
|---|---|---|
| Contents | folder_contents | blocks: func() { ... } |
Example InventScript
More logic blocks
Run LaterRun a custom block at a later time, like in 10 minutes or 3 days. Its inputs are saved when it's scheduled.Cancel Scheduled RunCancel a run scheduled with Run Later, by its key.Get Scheduled RunCheck whether a run is scheduled with a key, and when it runs.CooldownLet the rest of the flow run once per key for a set time. While the key is on cooldown, the blocks inside run instead and the flow stops.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.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.Call Custom BlockCall a custom block and use its returned outputs.ReturnReturn outputs from the current custom block and stop executing it.