# Code Block
Source: https://docs.odella.ai/block-reference/advanced/code
Run Python code securely during your flow's execution
The Code Block allows you to run Python code securely during your flow's execution using Azure Code Interpreter. This block provides a safe and isolated environment for executing custom Python code. Common use cases include:
* Performing complex calculations
* Implementing custom data processing logic
* Using Python libraries and functions
* Data transformation and analysis
> [!NOTE]
>
> The Code Block only supports Python code execution.

## Inputs
**input1** `any`
Default input port. Input names are configurable and each creates a corresponding port. Values are accessible in your Python code via the `inputs` dictionary with typed values (e.g., `inputs["input1"]["type"]`, `inputs["input1"]["value"]`).
## Outputs
**output1** `any`
Default output port. Output names are configurable and each creates a corresponding port. The code must return a dictionary with typed values matching the configured output names (e.g., `{"output1": {"type": "string", "value": "result"}}`).
## Editor Settings
**Inputs** `stringList`
List of input names. Each name creates an input port on the block. Names are sanitized to be valid Python identifiers (only alphanumeric and underscore characters).
**Outputs** `stringList`
List of output names. Each name creates an output port on the block. The code must return values for all configured outputs.
**AI Assist** `custom`
An AI assistant to help write and modify your code.
**Code** `code`
The Python code to execute. Must include a `main(inputs)` function that processes the inputs and returns a dictionary of outputs. Default template:
```python theme={"system"}
def main(inputs):
return {
"output1": {
"type": inputs["input1"]["type"],
"value": inputs["input1"]["value"]
}
}
```
## Code Structure
Your code must:
* Define a `main(inputs)` function
* Access inputs through the `inputs` dictionary where each input has `type` and `value` properties
* Return a dictionary with output names matching those configured in settings
* Each output must have `type` and `value` properties
# Comment Block
Source: https://docs.odella.ai/block-reference/advanced/comment
Add notes or comments to your flow for better organization and understanding
## Overview
The Comment Block is a special type of block that doesn't perform any operations but serves as a way to add notes or comments to a flow. It can be used to provide additional context or explanation for a group of blocks, making the flow easier to understand. The Comment Block is always rendered behind other blocks and has a distinct appearance with customizable colors.

## Inputs
The Comment Block does not have any inputs.
## Outputs
The Comment Block does not produce any outputs.
## Editor Settings
**Color** `string` (default: rgba(255,255,255,1))
The color of the text in the comment block.
**Background Color** `string` (default: rgba(0,0,0,0.05))
The background color of the comment block.
**Text** `string`
The text content of the comment block. Supports Markdown syntax, allowing for rich text formatting including headings, lists, etc.
## Example Usage
The Comment Block can be used to add notes or comments to a flow. For example, if you have a group of blocks performing a specific operation, you can add a Comment Block behind them to provide a brief explanation of what they do.
Additionally, you can use different colors for the text and background of different Comment Blocks to visually distinguish between different sections of your flow.
## FAQ
> [accordion] Can I use formatting in my comments?
>
> Yes, the Comment Block supports Markdown syntax, allowing you to use headings, lists, bold, italic, and other formatting options.
> [accordion] Do Comment Blocks affect the flow execution?
>
> No, Comment Blocks are purely for documentation and organization purposes. They do not affect the execution of your flow in any way.
## See Also
* [Markdown Guide](https://www.markdownguide.org/)
* [Flow Organization Best Practices](/workflow/overview)
# HTTP Call Block
Source: https://docs.odella.ai/block-reference/advanced/http-call
Make HTTP requests to external APIs and services
## Overview
The HTTP Call Block allows you to make HTTP requests to specified URLs with custom methods, headers, and body. This versatile block is essential for interacting with external APIs or services within your workflow.

## Inputs
**Method** `string`
The HTTP method to use for the request (GET, POST, PUT, DELETE). Only shown when "Use Input" is enabled for Method.
**URL** `string`
The URL to make the HTTP request to. Only shown when "Use Input" is enabled for URL.
**Headers** `object`
An object containing the headers to include in the HTTP request. Only shown when "Use Input" is enabled for Headers. Can accept a string containing JSON or an object.
**Body** `string`
The body of the HTTP request. Only shown when "Use Input" is enabled for Body. Can accept a string or an object that will be stringified.
## Outputs
**Body** `string`
The raw text body of the HTTP response.
**JSON** `object`
If the response has a content-type of application/json, this output will contain the parsed JSON object. Otherwise, this output will not be available.
**Status Code** `number`
The HTTP status code of the response.
**Headers** `object`
An object containing the headers from the HTTP response.
## Editor Settings
**Method** `select` (default: GET)
The HTTP method to use. Options are GET, POST, PUT, or DELETE. Has an "Use Input" toggle to accept the method via input instead.
**URL** `string`
The URL to make the request to. Has a "Use Input" toggle to accept the URL via input instead.
**Headers** `code`
JSON object containing request headers. Has a "Use Input" toggle to accept headers via input instead.
**Body** `code`
The request body. Has a "Use Input" toggle to accept body content via input instead.
**Error on non-200 status code** `boolean` (default: true)
If enabled, the block will error if the response status code is not 200.
## Notes
* When running in a browser environment, requests may be limited by CORS policies. If you encounter CORS issues, try using the Node executor instead.
* Headers provided via input can be either a JSON string or an object
* Body content provided via input can be either a string or an object (which will be stringified)
* The JSON output is only available when the response has a content-type of application/json
## Examples
### Example 1: Make a GET request to an API
1. Create an HTTP Call Block and set the `Method` to `GET` and the `URL` to `https://jsonplaceholder.typicode.com/todos/1`.
2. Run the flow. You should see all of the response data, such as the headers, response code, and body, in the output panel.
### Example 2: Make a POST request to an API
1. Create an HTTP Call Block and set the `Method` to `POST` and the `URL` to `https://jsonplaceholder.typicode.com/posts`. Enable the "Use Input" toggle on the "Body" setting.
2. Create an [Object Block](/block-reference/data/object) with the following content:
# Raise Event Block
Source: https://docs.odella.ai/block-reference/advanced/raise-event
Trigger events within your flow for host project interaction or flow synchronization
## Overview
The Raise Event Block allows you to trigger events from within your flow. These events can be listened for by the host project or by a [Wait For Event Block](/block-reference/advanced/wait-for-event) within the same flow. This functionality is useful for:
* Triggering actions in your host application based on the flow's state
* Synchronizing different parts of your flow
The block requires an event name and optionally accepts event data. The event name identifies the event when raised, while the event data can include any additional information you want to associate with the event.

## Inputs
**Event Name** `string` *required*
The name of the event to raise. This input is only available if `Use Event Name Input` is enabled in the settings. Any non-string inputs will be automatically coerced to strings.
**Data** `any`
The data to associate with the event. Optional. Can be any data type.
## Outputs
**Result** `any`
Returns the same data that was provided to the Data input. If no data was provided, returns an empty string.
## Editor Settings
**Event Name** `string` (default: toast)
The name of the event to raise. Required if `Use Event Name Input` is disabled. Defaults to "toast".
**Use Event Name Input** `boolean` (default: false)
When enabled, allows the Event Name to be provided via an input port instead of being set in the settings.
## Block Body Display
The block body will either display:
* The configured event name (when using settings)
* "(Using Input)" (when using the Event Name input port)
## Examples
### Example 1: Using the Toast Event
1. Create a Text Block with the content "Hello, world!".
2. Add a Raise Event Block and set the Event Name to `toast`.
3. Connect the Text Block to the `Data` input of the Raise Event Block.
4. Run the flow. The `Result` output will be "Hello, world!", and a toast message will appear.
### Example 2: Synchronize Flow Parts
1. Create a [Chat Block](/block-reference/ai/ai) with a prompt "What is your name?" using a [Text Block](/block-reference/data/text).
2. Add a Raise Event Block, set the Event Name to `chat`, and connect the Chat Block's `Response` output to the Raise Event Block's `Data` input.
3. In another part of the flow, add a [Wait For Event Block](/block-reference/advanced/wait-for-event) with the Event Name set to `chat`.
4. Run the flow. The Wait For Event Block will pause execution until the Chat Block completes.
## Error Handling
The Raise Event Block will error if:
* The Event Name is not provided when using the Event Name input
* The Event Name setting is empty when not using the input port
## FAQ
> [accordion] Can I pass data with the event?
>
> Yes, you can pass data of any type with the event by providing a value to the `Data` input.
> [accordion] What happens if I raise an event that no one is listening for?
>
> If you raise an event with no listeners, it will be raised and immediately discarded without any effect.
> [accordion] How is raising an event different from an External Call Block?
>
> The [External Call Block](/block-reference/advanced/http-call) waits for the external call to complete before continuing, while the Raise Event Block continues immediately after raising the event.
## See Also
* [Wait For Event Block](/block-reference/advanced/wait-for-event)
* [External Call Block](/block-reference/advanced/http-call)
* [Chat Block](/block-reference/ai/ai)
* [Text Block](/block-reference/data/text)
# Subflow Block
Source: https://docs.odella.ai/block-reference/advanced/sub-graph
Execute another flow within the current flow for reusable logic and modular design
## Overview
The Subflow Block allows you to execute another flow within the current flow. This powerful feature enables you to reuse logic across multiple flows, break down complex flows into smaller pieces, and create modular workflow designs.
> [!NOTE]
>
> Subflows must be within the same project and cannot reference flows from different projects.

## Inputs
**(Dynamic Inputs)** `any`
The inputs are dynamically generated based on the Input Blocks configured in the selected subflow. Each Input Block in the subflow creates a corresponding input port on the Subflow Block.
**Wait For** `any`
Only shown when "Wait For Input" is enabled. Used to delay execution until this input is ready.
## Outputs
**(Dynamic Outputs)** `any`
The outputs are dynamically generated based on the Output Blocks configured in the selected subflow. Each Output Block in the subflow creates a corresponding output port on the Subflow Block.
**Error** `string`
Contains any error message if an error occurs during subflow execution. Only available when "Use Error Output" is enabled.
**Duration** `number`
The time in milliseconds that the subflow took to execute.
## Editor Settings
**Flow** `flow` *required*
Select the flow to execute as a subflow. The flow must exist within the same project.
**Use Error Output** `boolean` (default: false)
When enabled, errors during subflow execution will be sent to the Error output port instead of causing the block to fail. This allows for custom error handling logic.
**Wait For Input** `boolean` (default: false)
When enabled, adds a "Wait For" input port that delays execution until that input is ready.
**(Dynamic Settings)** `any`
For each Input Block in the selected subflow, a corresponding setting appears allowing you to set a default value for that input.
## Notes
* The block's inputs and outputs are determined by the Input and Output Blocks in the selected subflow
* Errors can either fail the block or be handled via the Error output port
* Subflows can be nested within other subflows for complex workflow organization
* The subflow must be in the same project as the parent flow
* Default values can be set for any input, which will be used if no connection is made to that input port
## Examples
### Example 1: Basic Subflow Usage
1. Create a new flow called "Greeting" with:
* An Input Block named "name"
* A Text Block with content "Hello, !"
* An Output Block named "message"
2. In your main flow:
* Add a Subflow Block
* Select "Greeting" as the Flow
* Connect a Text Block with a name to the "name" input
* Use the "message" output as needed
### Example 2: Error Handling
1. Create a subflow that might produce errors
2. In your main flow:
* Add a Subflow Block
* Enable "Use Error Output"
* Connect the Error output to handle potential issues
* Add error handling logic as needed
## FAQ
> [accordion] Can subflows be nested?
>
> Yes, you can use Subflow Blocks within other subflows to create hierarchical workflow structures.
> [accordion] What happens if an error occurs in the subflow?
>
> If "Use Error Output" is enabled, the error message will be sent to the Error output port. Otherwise, the block will fail and stop the flow execution.
> [accordion] Can I modify the subflow's inputs and outputs?
>
> Yes, by modifying the Input and Output Blocks in the subflow. Changes will automatically update the ports on any Subflow Blocks using that flow.
> [accordion] How can I track how long a subflow takes to execute?
>
> The Duration output port provides the execution time in milliseconds for each run of the subflow.
# Wait For Event Block
Source: https://docs.odella.ai/block-reference/advanced/wait-for-event
Pause flow execution until a specific event is raised, enabling synchronization with external actions or other parts of the flow
## Overview
The Wait For Event Block pauses the execution of a flow until a specific event is raised by a [Raise Event Block](/block-reference/advanced/raise-event) or the host project. This block is crucial for scenarios where you need to synchronize your flow with external actions or other parts of the flow.

## Inputs
**Event Name** `string`
The name of the event to wait for. This input is only available if `Use Event Name Input` is enabled in the settings. The value will be coerced to a string.
**Data** `any`
Any data to be passed through the block. This data will be outputted from the `Data` output port. Optional.
## Outputs
**Data** `any`
The data passed in through the `Data` input port, passed through unchanged. If no data was provided to the input, this output will not be available.
**Event Data** `any`
The data associated with the event that was raised. The type depends on what data was included when the event was raised. If the event has no associated data, this output will not be available.
## Editor Settings
**Event Name** `string` (default: continue)
The name of the event to wait for. Must match the name of the event raised by the Raise Event Block or the host project. Only used if `Use Event Name Input` is disabled.
**Use Event Name Input** `boolean` (default: false)
If enabled, the Event Name can be provided via the Event Name input port instead of being set in the settings.
## Examples
### Example: Synchronizing with a Raise Event Block
1. Create a [Raise Event Block](/block-reference/advanced/raise-event) and set the `Event Name` to `myEvent`.
2. Add a Wait For Event Block and set the `Event Name` to `myEvent`.
3. Connect a Text Block with "Raise Event" to the Raise Event Block's Data input.
4. Connect another Text Block with "Waited" to the Wait For Event Block's Data input.
5. Connect both blocks' outputs to separate Text Blocks.
6. Run the flow. The Wait For Event Block will pause until the Raise Event Block raises `myEvent`.
7. Observe how the Wait For Event Block outputs both its input data and the event data.
## Error Handling
The Wait For Event Block does not generate errors under normal circumstances. If the expected event is not raised, the block will wait indefinitely.
## FAQ
> [accordion] Can I use the Wait For Event Block to wait for multiple events?
>
> No, each Wait For Event Block can only wait for a single event. To wait for multiple events, use multiple Wait For Event Blocks.
> [accordion] Can I use the Wait For Event Block with API calls?
>
> Yes, you can use an [HTTP Call Block](/block-reference/advanced/http-call) to make an API call, then use the Wait For Event Block to wait for an event raised in response to that call.
## See Also
* [Raise Event Block](/block-reference/advanced/raise-event)
* [HTTP Call Block](/block-reference/advanced/http-call)
* [External Call Block](/block-reference/advanced/http-call)
* [Code Block](/block-reference/advanced/code)
# Agent
Source: https://docs.odella.ai/block-reference/agents/agent
Executes a task by intelligently selecting and using available tools. The agent will analyze the task,
## Agent
Executes a task by intelligently selecting and using available tools. The agent will analyze the task,
break it down into steps, and execute the appropriate tools to accomplish the goal.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `agent` |
| Display name | Agent |
| Group | Agents |
# Template Agent
Source: https://docs.odella.ai/block-reference/agents/template-agent
Intelligently populates templates by gathering missing information using tools or by asking users.
## Template Agent
Intelligently populates templates by gathering missing information using tools or by asking users.
Features flexible tool-based operations, batch template population, and intelligent context gathering.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `templateAgent` |
| Display name | Template Agent |
| Group | Agents |
# Ask AI Block
Source: https://docs.odella.ai/block-reference/ai/ai
Send messages to over 250 AI models for chat completions
## Overview
The Ask AI Block allows you to send messages to over 250 different AI models for chat completions. This versatile block provides a wide range of options for AI-powered conversations and text generation tasks.

## Inputs
**systemPrompt** `string | chat-message`
The system prompt to send to the model. Optional. Used to provide high-level guidance to the AI model.
**prompt** `string | string[] | chat-message | chat-message[]`
The prompt message or messages to send to the model. Required. Strings will be converted into chat messages of type `user`, with no name.
**model** `string`
The model to use for the chat. Only available when "Use Model Input" is enabled.
**temperature** `number`
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. Only available when "Use Temperature Input" is enabled.
**top\_p** `number`
An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top\_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. Only available when "Use Top P Input" is enabled.
**useTopP** `boolean`
Whether to use top p sampling, or temperature sampling. Only available when "Use Top P Input" is enabled.
**maxTokens** `number`
The maximum number of tokens to generate in the chat completion. Only available when "Use Max Tokens Input" is enabled.
**stop** `string`
A sequence where the API will stop generating further tokens. Only available when "Use Stop Input" is enabled.
**presencePenalty** `number`
Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. Only available when "Use Presence Penalty Input" is enabled.
**frequencyPenalty** `number`
Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. Only available when "Use Frequency Penalty Input" is enabled.
**seed** `number`
If specified, OpenAI will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Only available when "Use Seed Input" is enabled.
## Outputs
**response** `string`
The textual response from the model.
**in-messages** `chat-message[]`
All messages sent to the model.
**all-messages** `chat-message[]`
All messages, with the response appended.
**responseTokens** `number`
The number of tokens in the response from the LLM. For a multi-response, this is the sum.
**cost** `number`
The estimated cost of the API call in USD.
**duration** `number`
The time taken to complete the request in milliseconds.
## Editor Settings
**Model** `string`
The AI model to use for responses. Choose from over 250 available models across various providers.
**Use Prompt Input** `boolean` (default: true)
Whether to use the prompt input, or input a prompt directly in the settings.
**Temperature** `number` (default: 0.7)
Controls randomness in the output. Lower values make the output more focused and deterministic.
**Top P** `number` (default: 1)
Alternative to temperature sampling. Only tokens comprising the top P probability mass are considered.
**Use Top P** `boolean` (default: false)
Whether to use top p sampling instead of temperature sampling.
**Max Tokens** `number` (default: 8192)
The maximum number of tokens to generate in the completion.
**Stop** `string`
A sequence where the API will stop generating further tokens.
**Presence Penalty** `number`
Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
**Frequency Penalty** `number`
Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
**Seed** `number`
If specified, OpenAI will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
### Advanced
**Custom Max Tokens** `number`
Overrides the max number of tokens a model can support. Leave blank for preconfigured token limits.
**Cache Responses** `boolean` (default: false)
If enabled, requests with the same parameters and messages will be cached for immediate responses without an API call.
**Use for subgraph partial output** `boolean`
If enabled, streaming responses from this node will be shown in Subgraph nodes that call this graph.
## Example: Simple Question Answering
1. Add an Ask AI block to your flow.
2. Add a Text block and enter your question in its editor.
3. Connect the output of the Text block to the `Prompt` input of the Ask AI block.
4. Select your desired model in the Ask AI block settings.
5. Run your flow. The AI's response will appear at the bottom of the Ask AI block.
## Error Handling
The block will retry failed attempts up to 3 times with exponential backoff:
* Minimum retry delay: 500ms
* Maximum retry delay: 5000ms
* Retry factor: 2.5x
* Includes randomization
* Maximum retry time: 5 minutes
Error messages will be logged for:
* Missing prompt input
* API rate limits (will retry)
* API timeouts (will retry)
* Token limit exceeded
* Invalid model configuration
* Other API errors
> [!WARNING]
>
> Be mindful of rate limits when using the Ask AI block, especially when [batching](/workflow/batching) requests.
## FAQ
> [accordion] Can I use multiple AI models in the same workflow?
>
> Yes, you can use multiple Ask AI blocks with different models in the same workflow.
> [accordion] What happens if I connect an unsupported data type to the prompt input?
>
> The block will attempt to convert the value to a string. If successful, it will be treated as a user message. If conversion fails, the input will be ignored.
> [accordion] Are all settings available for all models?
>
> No, available settings may vary depending on the selected model. The block will adapt its settings based on your selection.
## See Also
* [Text Block](/block-reference/data/text)
* [Assemble Prompt Block](/block-reference/ai/ai)
* [AI Filter Block](/block-reference/ai/ai-filter)
# AI Filter Block
Source: https://docs.odella.ai/block-reference/ai/ai-filter
Apply AI-powered filtering to arrays using various models and providers

## Overview
The AI Filter Block applies a filter operation over an array of values where the filter condition is evaluated by one of the AI models from the 250+ models Odella connects to. This powerful block allows you to leverage AI capabilities to perform complex filtering tasks on your data.
## Inputs
**System Prompt** `string`
The system prompt to send to the model. Optional. Used to provide high-level guidance to the AI model.
**Condition Prompt** `string` *required*
The condition prompt to filter the array. Required. This prompt describes the criteria that each array element will be evaluated against.
**Input** `any[]` *required*
The input array to filter. Required. Can be an array of any data type.
## Outputs
**Indicies** `number[]`
The index numbers of each element that passed the filter condition.
**Output** `any[]`
The filtered input array containing only the elements that passed the condition.
## Editor Settings
**AI Model** `string` (default: gpt-3.5-turbo)
The AI model to use for evaluating filter conditions. Available models are dynamically populated based on the LLM provider configuration.
**Temperature** `number` (default: 0)
The sampling temperature to use. Values between 0-2. Higher values (0.8) make output more random, lower values (0.2) make it more focused and deterministic.
**Top P** `number` (default: 1)
Alternative to temperature sampling. Only tokens comprising the top P probability mass are considered. For example, 0.1 means only tokens in the top 10% probability are considered.
**Use Top P** `boolean` (default: false)
Toggle between using top P sampling or temperature sampling.
**Max Tokens** `number` (default: 2048)
The maximum number of tokens to generate in each chat completion.
**Stop** `string`
A sequence where the API will stop generating further tokens.
**Presence Penalty** `number`
Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
**Frequency Penalty** `number`
Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
**Seed** `number`
If specified, the model will attempt to generate deterministic results for repeated requests with the same seed and parameters.
### Advanced Settings
**Custom Max Tokens** `number`
Overrides the max number of tokens a model can support. Leave blank for preconfigured token limits.
**Cache Responses** `boolean` (default: false)
If enabled, requests with the same parameters and messages will be cached for immediate responses without an API call.
**Use for subgraph partial output** `boolean` (default: false)
If enabled, streaming responses from this node will be shown in Subgraph nodes that call this graph.
## Error Handling
* The block will retry failed attempts up to 3 times with exponential backoff
* Token limits are automatically enforced based on the selected model
* Invalid responses (non TRUE/FALSE) from the model will trigger an error
* The block includes built-in timeout handling and request cancellation support
## Example Usage
1. Connect an array of items to the Input port
2. Add a condition prompt like "Keep only items that are environmentally sustainable products"
3. Optionally add a system prompt for additional context
4. Configure the model and parameters in the settings
5. Connect the Output port to use the filtered results
## Notes
* The block automatically handles token counting and cost tracking
* Responses are strictly evaluated as TRUE/FALSE
* The block supports parallel processing of array elements
* Built-in caching can improve performance for repeated operations
# AI Scorer
Source: https://docs.odella.ai/block-reference/ai/ai-scorer
Scores each message in a chat-message[] array using an AI model. Each message is scored between 0 and 1 based on the provided scoring criteria.
## AI Scorer
Scores each message in a chat-message\[] array using an AI model. Each message is scored between 0 and 1 based on the provided scoring criteria.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `aiScorer` |
| Display name | AI Scorer |
| Group | AI |
# Describe Image Block for AI Image Analysis
Source: https://docs.odella.ai/block-reference/ai/analyze-image
Use the Describe Image block to analyze images, charts, screenshots, and diagrams with natural language prompts in Odella workflows.
## Overview
Use the Describe Image block when a workflow needs to analyze an image, chart, screenshot, diagram, or scanned visual and return a text description. Provide an image plus an optional natural language prompt to focus the analysis on specific details, then pass the output into blocks like [Ask AI](/block-reference/ai/ai), [Extract Data](/block-reference/ai/extract-data), or [Flow Output](/block-reference/io/graph-output).

## Inputs
**systemPrompt** `string`
The system prompt to send to the model. Optional. Used to provide high-level guidance to the AI model.
**prompt** `chat-message | chat-message[]`
The prompt message or messages to send to the model. Only available if "Use Prompt Input" is enabled in settings.
**image** `image` *required*
The input image to be analyzed. Required. The image will be converted to a data URI before being sent to the model.
## Outputs
**output** `string`
The resulting description of the image. The content and focus of this description will depend on the input image and any provided prompts.
## Editor Settings
**model** `string` (default: gpt-4o)
The AI vision model used to describe the image. Available models are dynamically populated based on the LLM provider configuration.
**usePromptInput** `boolean` (default: false)
When enabled, allows the prompt to be provided via an input port instead of being set in the settings.
**prompt** `string` (default: Describe the image in detail. If the image is a chart, provide an overview of the data and any trends or insights. If the image is of anything else, describe the content of the image.)
The prompt to use when "Use Prompt Input" is disabled. This text will be sent to the model along with the image.
**maxTokens** `number` (default: 2048)
The maximum number of tokens to generate in the response.
**temperature** `number` (default: 0)
The sampling temperature to use. Lower values produce more focused and deterministic outputs, while higher values allow for more creativity in descriptions.
> [!NOTE]
>
> Available settings may vary depending on the selected LLM provider and model.
## Example: Analyzing a Chart Image
1. Add a Describe Image block to your flow.
2. Connect your input image (e.g., a chart or graph) to the `image` input of the Describe Image block.
3. Add a Text block with a prompt like "Describe the main trends and key data points in this chart" and connect it to the `prompt` input if using prompt input mode.
4. Select your desired model in the Describe Image block settings.
5. Run your flow. The block will output a detailed description of the chart, focusing on the trends and key data points.
## Use Case: Screenshot Triage
For support or operations workflows, connect an uploaded screenshot to the Describe Image block and ask it to summarize visible errors, form fields, or UI state. You can then route the description into [Extract Data](/block-reference/ai/extract-data) to capture structured fields, [AI Filter](/block-reference/ai/ai-filter) to prioritize issues, or [Confirm](/block-reference/io/confirm) to ask a human reviewer before continuing.
## Error Handling
* If the input image is empty, invalid, or in an unsupported format, the block will return an error.
* If the AI provider fails to analyze the image, the block will retry up to 3 times with exponential backoff (1-10 seconds between retries).
* If the image is too large or complex for the model to process, the block may return an error or a partial description.
> [!WARNING]
>
> Always validate the output of the Describe Image block, especially when using it for critical applications or decision-making processes.
## FAQ
> [accordion] What types of images can the Describe Image block analyze?
>
> The block can analyze a wide variety of images, including photographs, charts, graphs, diagrams, and more. The effectiveness may vary depending on the complexity of the image and the capabilities of the chosen AI model.
> [accordion] How detailed are the image descriptions?
>
> The level of detail in the descriptions can vary based on the complexity of the image, the specificity of the prompt (if provided), and the capabilities of the chosen AI model. You can often get more detailed or focused descriptions by using specific prompts.
> [accordion] Can the Describe Image block identify specific objects or people in images?
>
> While the block can generally describe the contents of an image, including objects and people, it typically doesn't identify specific individuals. The level of object recognition depends on the AI model's training and capabilities.
## See Also
* [Create Chart Block](/block-reference/ai/create-chart)
* [Ask AI Block](/block-reference/ai/ai)
* [Extract Data Block](/block-reference/ai/extract-data)
* [AI Filter Block](/block-reference/ai/ai-filter)
* [Confirm Block](/block-reference/io/confirm)
# Analyze Table Block
Source: https://docs.odella.ai/block-reference/ai/analyze-table
Leverage AI to analyze and transform tabular data based on natural language prompts

## Overview
The Analyze Table Block uses AI capabilities to perform complex analysis and transformations on tabular data. By providing a natural language prompt, you can instruct the AI to aggregate data, calculate summary statistics, or perform other sophisticated operations on your input table.
## Inputs
**Table** `table` *required*
The input table to be analyzed. Should be an array of objects, where each object represents a row in the table.
**Prompt** `string` *required*
A natural language prompt describing the analysis or transformation to be performed on the table. This input is only available if "Use Prompt Input" is enabled in settings. The prompt guides the AI in generating the appropriate code for table analysis.
## Outputs
**Output** `table`
The resulting table after analysis or transformation. The structure of this table will depend on the operations specified in the prompt.
**Duration** `number`
The time in milliseconds that the block took to execute.
## Editor Settings
**AI Model** `string` (default: default)
The specific model to use for generating the analysis code. Available models are dynamically populated based on the LLM provider configuration.
**Use Prompt Input** `boolean` (default: false)
When enabled, allows the prompt to be provided via an input port instead of being set in the settings.
**Prompt** `string`
The analysis prompt to use when "Use Prompt Input" is disabled. Describe the analysis you would like to perform on the table. The AI will generate the code for you.
## Requirements
* An LLM provider must be configured in the workflow context
* A code interpreter endpoint must be set in the settings (Azure Code Interpreter)
## Error Handling
The block will retry failed attempts up to 3 times with exponential backoff when encountering errors:
* Retries occur between 500ms and 5000ms apart
* Maximum of 3 retries before failing
* Error details are provided in the trace logs
Common errors include:
* Missing or invalid input table
* Failed code generation from AI
* Runtime errors in generated analysis code
* Missing configuration for LLM provider or code interpreter
> [!WARNING]
>
> Always validate the output of the Analyze Table block, especially when working with critical data or making important decisions based on the results.
## Example Usage
1. Add an Analyze Table block to your flow
2. Connect your input table to the `Table` input
3. Either:
* Enable "Use Prompt Input" and connect a prompt via the input port
* Disable "Use Prompt Input" and enter your analysis prompt in settings
4. Select your desired AI model
5. Run the flow to get the analyzed table output
## FAQ
> [accordion] What types of analysis can the Analyze Table block perform?
>
> The block can perform a wide range of operations using pandas, including: aggregations, filtering, sorting, pivoting, calculating summary statistics, and applying complex transformations. The capabilities are largely determined by the AI model's ability to generate appropriate pandas code.
> [accordion] How does the block handle date-time data?
>
> The block automatically handles messy date-time formats in the input data, converting them to appropriate pandas datetime objects for analysis.
> [accordion] How is the analysis performed securely?
>
> The analysis code is executed in an isolated Azure Code Interpreter environment. The data is processed securely within this environment and only the results are returned.
## See Also
* [AI Filter Block](/block-reference/ai/ai-filter)
* [Ask AI Block](/block-reference/ai/ai)
* [Table Block](/block-reference/loaders/read-table)
# Assemble Message
Source: https://docs.odella.ai/block-reference/ai/assemble-message
Assembles a single chat message from multiple parts. Parts can be text, images, audio, or files.
## Assemble Message
Assembles a single chat message from multiple parts. Parts can be text, images, audio, or files.
Not every model supports all modalities, so ensure that the downstream model supports the parts you include.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `assembleMessage` |
| Display name | Assemble Message |
| Group | AI |
# Categorizer
Source: https://docs.odella.ai/block-reference/ai/categorizer
Classifies messages into predefined categories using an AI model.
## Categorizer
Classifies messages into predefined categories using an AI model.
Each category has a title and description that defines what types of messages belong to it.
The LLM will evaluate the messages against each category's criteria and classify accordingly.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `categorizer` |
| Display name | Categorizer |
| Group | AI |
# Create Chart Block
Source: https://docs.odella.ai/block-reference/ai/create-chart
Generate data visualizations from tabular data using AI-powered natural language prompts
## Overview
The Create Chart Block leverages AI capabilities to generate data visualizations from tabular data based on natural language prompts. By providing a table of data and a descriptive prompt, you can instruct the AI to create various types of charts, graphs, and other visual representations of your data.

## Inputs
**Table** `table` *required*
The input table containing the data to be visualized. Should be an array of objects, where each object represents a row in the table.
**Prompt** `string` *required*
A natural language prompt describing the desired chart or visualization. This input is only available if "Use Prompt Input" is enabled in settings. The prompt guides the AI in generating the appropriate code for creating the chart.
## Outputs
**Output** `image`
The resulting chart as a PNG image. Can be used directly in image tags or saved as an image file.
**Duration** `number`
The time in milliseconds that the block took to execute.
## Editor Settings
**AI Model** `string` (default: default)
The specific model to use for generating the chart code. Available models are dynamically populated based on the LLM provider configuration. Uses a custom LLM dropdown element.
**Use Prompt Input** `boolean` (default: false)
When enabled, allows the prompt to be provided via an input port instead of being set in the settings.
**Prompt** `string`
The prompt to use when "Use Prompt Input" is disabled. Describe the chart you would like to create given the input table. The AI will generate the code for you.
## Error Handling
The block will retry failed attempts up to 3 times with exponential backoff:
* Minimum retry delay: 500ms
* Maximum retry delay: 5000ms
* Retry factor: 2.5x
* Includes randomization
Error messages will be logged and the block will show:
* Code execution errors from the interpreter
* Missing configuration errors
* Response parsing errors
## Notes
* Uses seaborn library for chart generation
* Automatically handles date-time data formatting
* Optimizes charts for clarity and readability
* Includes proper axis labels, legends, and titles
* Limited to 2048 tokens for model responses
## Example Usage
1. Connect your input table to the Table input
2. Enable "Use Prompt Input" if you want to provide the prompt dynamically
3. Write a descriptive prompt like "Create a bar chart showing sales by month"
4. Select your desired AI model
5. The block will generate a PNG chart based on your specifications
## See Also
* [Analyze Table Block](/block-reference/ai/analyze-table)
* [AI Filter Block](/block-reference/ai/ai-filter)
* [Table Block](/block-reference/loaders/read-table)
# Extract Data Block
Source: https://docs.odella.ai/block-reference/ai/extract-data
Leverage AI to extract structured data from unstructured text based on a flexible schema
## Overview
The Extract Data Block uses AI capabilities to extract structured data from unstructured text input. By defining a flexible schema, you can specify which fields to extract, their data types, and provide detailed descriptions to guide the AI model in accurately extracting the desired information.

## Inputs
**systemPrompt** `string`
The system prompt to send to the model. Optional. Used to provide high-level guidance to the AI model.
**context** `string` *required*
The context to extract the specified schema(s) from. Required.
## Outputs
**all** `object[]`
An array of objects containing all extracted data, structured according to the defined schema.
**\[schemaField]** `any[]`
For each field defined in the schema, an array containing the extracted values for that field. The type will match the schema field type.
**duration** `number`
The time in milliseconds that the block took to execute.
## Editor Settings
**AI Model** `string` (default: gpt-3.5-turbo)
The AI model to use for data extraction. Available models are dynamically populated based on the LLM provider configuration.
**Schema** `object`
The schema defining what data to extract. Specify field names, types, and descriptions to guide the extraction.
### Parameters
**Temperature** `number` (default: 0)
What sampling temperature to use. Higher values like 0.8 make output more random, while lower values like 0.2 make it more focused and deterministic.
**Top P** `number` (default: 1)
Alternative to temperature sampling. Only tokens comprising the top P probability mass are considered. For example, 0.1 means only tokens in the top 10% probability are considered.
**Use Top P** `boolean` (default: false)
Whether to use top p sampling instead of temperature sampling.
**Max Tokens** `number` (default: 8192)
The maximum number of tokens to generate in the completion.
**Stop** `string`
A sequence where the API will stop generating further tokens.
**Presence Penalty** `number`
Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
**Frequency Penalty** `number`
Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
**Seed** `number`
If specified, OpenAI will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
### Advanced
**Cache Responses** `boolean` (default: false)
If enabled, requests with the same parameters and messages will be cached for immediate responses without an API call.
**Use for subgraph partial output** `boolean`
If enabled, streaming responses from this node will be shown in Subgraph nodes that call this graph.
**Error on invalid output(s)** `boolean`
If enabled, the node will error if any of the results returned do not conform to the schema.
## Error Handling
The block will retry failed attempts up to 3 times with exponential backoff:
* Minimum retry delay: 500ms
* Maximum retry delay: 5000ms
* Retry factor: 2.5x
* Includes randomization
* Maximum retry time: 5 minutes
Error messages will be logged for:
* Invalid schema validation
* Missing LLM provider configuration
* API errors and timeouts
* Aborted requests
> [!WARNING]
>
> Always validate the output of the Extract Data block, especially when working with critical data or making important decisions based on the extracted information.
## Example: Extracting Contact Information
1. Add an Extract Data block to your flow.
2. Connect your input text (e.g., an email or document) to the `Context` input.
3. Define a schema in the block settings, for example:
```json theme={"system"}
{
"name": {"type": "string", "description": "Full name of the person"},
"email": {"type": "string", "description": "Email address"},
"phone": {"type": "string", "description": "Phone number"},
"company": {"type": "string", "description": "Company name"}
}
```
4. Select your desired provider and model.
5. Run your flow. The block will output an object with the extracted information.
## See Also
* [Analyze Table Block](/block-reference/ai/analyze-table)
* [AI Filter Block](/block-reference/ai/ai-filter)
* [Ask AI Block](/block-reference/ai/ai)
# Generate Questions Block
Source: https://docs.odella.ai/block-reference/ai/generate-questions
Leverage AI to generate multiple questions based on a given prompt and value
## Overview
The Generate Questions Block uses AI capabilities to create a specified number of questions based on an input prompt and value. This block is particularly useful for expanding research activities, breaking down complex topics into manageable parts, or creating comprehensive question sets for various purposes.

## Inputs
**systemPrompt** `string`
The system prompt to send to the model. Optional. Used to provide high-level guidance to the AI model.
**context** `string | chat-message | chat-message[] | array`
The context to generate related questions from. Optional. Can be a string, chat message, array of chat messages, or other array types that can be coerced to strings.
**instruction** `string`
Available when using the "Blank" template. The instruction for generating questions.
**question** `string`
Available when using the "Research Questions" template. The question to generate research queries for.
## Outputs
**questions** `string[]`
An array of generated questions based on the input context and prompts.
**duration** `number`
The time in milliseconds that the block took to execute.
## Editor Settings
**AI Model** `string` (default: default)
The AI model to use for generating questions. Available models are dynamically populated based on the LLM provider configuration. Only models supporting function calls are shown.
**From Template** `string` (default: Research Questions)
Choose from predefined templates:
* Blank: A simple template with custom instruction
* Research Questions: Template for generating Google search queries
**Number of Questions** `number` (default: 3)
The number of questions to generate. Must be between 1 and 10.
**Temperature** `number` (default: 0.5)
Controls randomness in the output. Lower values make the output more focused and deterministic.
**Prompt Text** `code`
The prompt template text. Supports interpolation using \{\{variable}} syntax. Uses custom prompt interpolation highlighting.
## Error Handling
The block will retry failed attempts up to 3 times with exponential backoff:
* Minimum retry delay: 500ms
* Maximum retry delay: 5000ms
* Retry factor: 2.5x
* Includes randomization
* Maximum retry time: 5 minutes
Error messages will be logged for:
* Invalid number of questions (must be 1-10)
* Empty or invalid responses
* API rate limits (will retry)
* API timeouts (will retry)
* Other API errors
> [!WARNING]
>
> Always review the generated questions for relevance and appropriateness, especially when using them for critical research or decision-making processes.
## FAQ
> [accordion] How diverse are the generated questions?
>
> The diversity of questions depends on the input prompt, the provided value, and the AI model's capabilities. You can encourage more diverse questions by adjusting the temperature setting or by providing a more open-ended prompt.
> [accordion] Can I generate questions in languages other than English?
>
> Yes, the Generate Questions block can generate questions in various languages. Simply provide the prompt and value in your desired language, and ensure the chosen AI model supports that language.
> [accordion] How can I ensure the generated questions are relevant to my specific needs?
>
> To improve relevance, provide a clear and specific prompt that outlines the type of questions you're looking for. You can also experiment with different AI models and settings to find the best combination for your use case.
## See Also
* [Ask AI Block](/block-reference/ai/ai)
* [Analyze Table Block](/block-reference/ai/analyze-table)
* [AI Filter Block](/block-reference/ai/ai-filter)
# Research AI Block
Source: https://docs.odella.ai/block-reference/ai/research
Leverage AI to conduct intelligent research across public or private document stores
## Overview
The Research AI Block utilizes advanced AI capabilities to perform intelligent searches and research across multiple document stores. This block can search through public databases, private collections, or a combination of both, providing powerful and flexible research capabilities for various use cases.

## Inputs
**Question** `string | chat-message | chat-message[] | string[]` *required*
The question or questions to research. Required. This guides the AI in conducting the research. Can be provided as a string, chat message, array of chat messages, or array of strings.
## Outputs
**Question** `string`
The question that was researched.
**Answer** `string`
The answer to the research question.
**Sources** `object[]`
The cited sources supporting the response.
**All** `string`
A combined output containing the question, answer and discovered sources.
**Duration** `number`
The time in milliseconds that the block took to execute.
## Editor Settings
**Document Store** `string[]`
Select up to 5 document stores to search over. The available options are dynamically populated based on your configured document stores.
**Mode** `string` (default: OR)
How to combine the search results across multiple document stores:
* OR: Routes to the most relevant store
* AND: Combines results from all stores
> [!NOTE]
>
> A DocumentStoreProvider must be configured to use this block.
## Error Handling
The block will retry failed attempts up to 3 times with exponential backoff:
* Minimum retry delay: 500ms
* Maximum retry delay: 5000ms
* Retry factor: 2.5x
* Includes randomization
* Maximum retry time: 5 minutes
Error messages will be logged for:
* No document stores selected
* Invalid document store IDs
* Missing DocumentStoreProvider configuration
* API rate limits (will retry)
* API timeouts (will retry)
* Other API errors
> [!WARNING]
>
> Always verify the accuracy and relevance of the research results, especially when using them for critical decision-making or legal purposes.
## FAQ
> [accordion] How does the Research AI block handle conflicting information from different sources?
>
> The AI attempts to reconcile conflicting information by analyzing the credibility of sources, considering the recency of information, and providing context for discrepancies. In cases of significant conflicts, the AI may highlight these differences in the research results.
> [accordion] Can I use the Research AI block with my own private document stores?
>
> Yes, the Research AI block can be configured to work with both public and private document stores. Ensure that your private stores are properly set up and accessible within your platform environment.
> [accordion] How does the 'OR' search mode differ from the 'AND' mode?
>
> In 'OR' mode, the AI intelligently selects the most appropriate document store to search based on the query, potentially improving speed and relevance. In 'AND' mode, the AI searches all specified stores and combines the results, providing a more comprehensive but potentially slower search.
## See Also
* [Ask AI Block](/block-reference/ai/ai)
* [AI Filter Block](/block-reference/ai/ai-filter)
* [Analyze Table Block](/block-reference/ai/analyze-table)
# All Blocks
Source: https://docs.odella.ai/block-reference/all-blocks
A comprehensive list of all built-in workflow blocks in Odella
This page lists every built-in workflow block registered in `packages/workflow`. Each page path uses the block ID converted to kebab-case.
## AI
> [card] [Ask AI](/block-reference/ai/ai)
>
> Makes a call to an LLM chat model.
> [card] [AI Filter](/block-reference/ai/ai-filter)
>
> Applys a AI call to each item in a list of values.
> [card] [AI Scorer](/block-reference/ai/ai-scorer)
>
> Scores each message in a chat-message\[] array using an AI model. Each message is scored between 0 and 1 based on the provided scoring criteria.
> [card] [Analyze Image](/block-reference/ai/analyze-image)
>
> Analyzes the contents of an image. If the image is a chart, it will provide an analysis of any trends or insights.
> [card] [Analyze Table](/block-reference/ai/analyze-table)
>
> This node allows you to analyze a table using AI. You can describe the analysis you would like to perform on the table and the AI will generate the code for you.
> [card] [Assemble Message](/block-reference/ai/assemble-message)
>
> Assembles a single chat message from multiple parts. Parts can be text, images, audio, or files. Not every model supports all modalities, so ensure that the downstream model supports the parts you include.
> [card] [Categorizer](/block-reference/ai/categorizer)
>
> Classifies messages into predefined categories using an AI model. Each category has a title and description that defines what types of messages belong to it. The LLM will evaluate the messages against each category's criteria and classify accordingly.
> [card] [Create Chart](/block-reference/ai/create-chart)
>
> This node allows you to create a chart image using AI. You can describe the chart you would like to create using the input table and the AI will generate the code to create the graph for you.
> [card] [Extract Data](/block-reference/ai/extract-data)
>
> Applies an LLM to extract data from the supplied context, based on the schema.
> [card] [Generate Questions](/block-reference/ai/generate-questions)
>
> Generates a number of questions given the context and supplied instructions.
> [card] [Research AI](/block-reference/ai/research)
>
> Researches sources that answer your query using our Research AI. It can search any of our public stores or your private document stores.
## Input/Output
> [card] [Input](/block-reference/io/graph-input)
>
> Defines an input for the flow which can be passed in when the flow is called, or defines one of the input ports when the flow is a subflow.
> [card] [Output](/block-reference/io/graph-output)
>
> Each instance of this node represents an individual output of the flow. The value passed into this node becomes part of the overall output of the flow.
> [card] [User Input](/block-reference/io/user-input)
>
> Prompts the user for input during the execution of the flow. The user's response becomes the output of this node.
> [card] [Upload File](/block-reference/io/upload-file)
>
> User input node for file uploads. Outputs the file as a file object or list of file objects for further processing.
> [card] [Confirm](/block-reference/io/confirm)
>
> Prompts the user for a confirmation to continue. Outputs the value if the user confirms.
## Data
> [card] [Array](/block-reference/data/array)
>
> Creates an array from the input values. By default, flattens any arrays which are inputs into a single array. Can be configured to keep the arrays separate, or deeply flatten arrays. Useful for both creating and merging arrays. The number of inputs is dynamic based on the number of connections.
> [card] [Bool](/block-reference/data/boolean)
>
> Outputs a boolean constant, or converts an input value into a boolean.
> [card] [Date](/block-reference/data/date)
>
> A date picker node to select a date.
> [card] [File](/block-reference/data/file)
>
> Provides an static file to use.
> [card] [Image](/block-reference/data/image)
>
> Defines a static image for use with other nodes. Can convert a binary type into an image type.
> [card] [Number](/block-reference/data/number)
>
> Outputs a number constant, or converts an input value into a number. Can be configured to round the number to a certain number of decimal places.
> [card] [Object](/block-reference/data/object)
>
> Creates an object from input values and a JSON template, escaping the input values and inserting them into the template. Use double-quotes around the input values to escape them. String values are automatically escaped. Useful for creating objects from multiple inputs.
> [card] [Random Number](/block-reference/data/random-number)
>
> Outputs a random number between the configured min and max values. Can be configured to output only integers, and whether the max value is inclusive or exclusive.
> [card] [Text](/block-reference/data/text)
>
> Outputs a string of text. It can also interpolate values using . The inputs are dynamic based on the interpolation tags.
## Loaders
> [card] [Read Binary](/block-reference/loaders/read-binary)
>
> Reads the contents of the specified file and outputs it as binary.
> [card] [Read Images](/block-reference/loaders/read-images)
>
> Reads the contents of the specified file and outputs each page as an image.
> [card] [Read Table](/block-reference/loaders/read-table)
>
> Reads and parses a CSV file into a table data type.
> [card] [Read Text](/block-reference/loaders/read-text)
>
> Reads the contents of the specified file and outputs it as a string.
> [card] [Transcribe Audio](/block-reference/loaders/transcribe-audio)
>
> Transcribes speech from an audio file or audio data using an LLM. Accepts either audio data type or file data type as input.
## Logic
> [card] [Abort Flow](/block-reference/logic/abort)
>
> Aborts the execution of the entire flow immediately. Can either "successfully" abort the flow (early-exit), or "error" abort the graph.
> [card] [Checklist](/block-reference/logic/checklist)
>
> Evaluates messages against a list of conditions. All conditions must be satisfied for the messages to be routed to the success output. If any condition fails, the messages are routed to the failure output.
> [card] [Coalesce](/block-reference/logic/coalesce)
>
> Takes in any number of inputs and outputs the first value that exists. Useful for consolidating branches after a Match node. This node can also "consume" the "Not Ran" value.
> [card] [Compare](/block-reference/logic/compare)
>
> Compares two values using the configured operator and outputs the result. If the data types of the values do not match, then the B value is converted to the type of the A value.
> [card] [Delay](/block-reference/logic/delay)
>
> Delays the execution and then passes the input value to the output without any modifications.
> [card] [If/Else](/block-reference/logic/if-else)
>
> Takes in three inputs: a condition, a true value, and a false value. If the condition is truthy, the true value is passed through the output port. If the condition is not truthy, the false value is passed through the output port. This node can "consume" a `Not Ran` to continue a graph from that point.
> [card] [Match](/block-reference/logic/match)
>
> Any number of regular expressions can be configured, each corresponding to an output of the node. The output port of the first matching regex will be ran, and all other output ports will not be ran.
> [card] [Passthrough](/block-reference/logic/passthrough)
>
> Simply passes the input value to the output without any modifications.
> [card] [Race Inputs](/block-reference/logic/race-inputs)
>
> Takes in multiple inputs and outputs the value of the first one to finish. The other inputs are cancelled.
> [card] [Route](/block-reference/logic/route)
>
> Routes messages to different outputs based on LLM evaluation of multiple conditions. Each option has a prompt that describes when messages should be routed to that output. The LLM will evaluate the messages against each option's criteria and route accordingly.
> [card] [Switch](/block-reference/logic/switch)
>
> Takes in a condition and a value. If the condition is truthy, the value is passed through the True port, and the False port is not ran. If the condition is falsy, the value is passed through the False port, and the True port is not ran.
## Modifiers
> [card] [Chunk](/block-reference/modifiers/chunk)
>
> Splits the input text into an array of chunks based on an approximate GPT token count per chunk. The "overlap" setting allows you to partially overlap the chunks for redundancy. Can also be used for string length truncation by only using the `First` or `Last` outputs of the node.
> [card] [Convert File](/block-reference/modifiers/convert-file)
>
> Converts a file between PDF and DOCX formats.
> [card] [Convert Format](/block-reference/modifiers/convert-format)
>
> Converts data to a text format. - **JSON** — converts the input to a JSON string - **YAML** — converts the input to a YAML string
> [card] [Destructure](/block-reference/modifiers/destructure)
>
> Destructures the input value by extracting values at the specified paths. The paths use JSONPath notation to navigate through the value.
> [card] [Extract from Text](/block-reference/modifiers/extract-from-text)
>
> Extracts structured data from text. Supports multiple formats: - **JSON** — finds and parses the first JSON object or array - **YAML** — finds and parses YAML by a root property name - **Code Blocks** — extracts fenced code blocks from markdown - **Tables** — extracts tables from markdown - **Pattern** — extracts text using a regular expression
> [card] [Filter](/block-reference/modifiers/filter)
>
> Takes in both an array of values, and an array of booleans of the same length, and filters the array where the corresponding boolean is true.
> [card] [Flatten](/block-reference/modifiers/flatten)
>
> Takes in a nested array and flattens the array to a single level.
> [card] [Get Value](/block-reference/modifiers/get-value)
>
> Gets a value from an object using a path expression. Use JSONPath notation to navigate through the object, for example: - `$.name` — get the "name" field - `$.items[0]` — get the first item - `$.users[*].email` — get all user emails
> [card] [Hash](/block-reference/modifiers/hash)
>
> Computes a hash of the input value using the configured hash function.
> [card] [Index](/block-reference/modifiers/index)
>
> Takes in both an array of values, and an index value or an array of indicies, and selects the values at the given indicies.
> [card] [Join](/block-reference/modifiers/join)
>
> Takes an array of strings, and joins them using the configured delimiter. Defaults to a newline.
> [card] [Merge PDFs](/block-reference/modifiers/merge-pdf)
>
> Merges multiple PDF files into a single PDF document. The files will be merged in the order they are provided. Supports up to 10 input ports, each accepting either a single file or an array of files.
> [card] [Pop](/block-reference/modifiers/pop)
>
> Pops the last value off the input array and outputs the new array and the popped value. Can also be used to just extract the last value from an array.
> [card] [Shuffle](/block-reference/modifiers/shuffle)
>
> Shuffles the input array. Outputs the shuffled array.
> [card] [Slice](/block-reference/modifiers/slice)
>
> Slices an array from the start index for the count number of elements. Useful for extracting a portion of an array.
## Draft
> [card] [AI-Fill PDF](/block-reference/draft/ai-fill-pdf)
>
> Fills a PDF form using AI. Extracts form fields from a PDF and uses a vision-language model to populate them based on the provided context.
> [card] [Draft](/block-reference/draft/draft)
>
> A versatile drafting node that has a selection of pre-configured drafting templates for common use cases.
> [card] [Populate Template](/block-reference/draft/populate-template)
>
> Populates a template document using AI-extracted field values from the input messages. Fields that cannot be determined from the messages are left blank.
> [card] [Table To File](/block-reference/draft/table-to-file)
>
> Converts a table to a file based on the specified formats.
> [card] [Text To File](/block-reference/draft/text-to-file)
>
> Converts text to files based on the specified formats.
## Advanced
> [card] [Code](/block-reference/advanced/code)
>
> Executes a piece of Python code. See the Documentation for more information on how to write code for the Code Node.
> [card] [Comment](/block-reference/advanced/comment)
>
> A comment node is a node that does nothing. It is useful for adding notes to a graph.
> [card] [HTTP Call](/block-reference/advanced/http-call)
>
> Makes an HTTP call to the specified URL with the given method, headers, and body.
> [card] [Raise Event](/block-reference/advanced/raise-event)
>
> Raises an event that the host workflow or a 'Wait For Event' node can listen for.
> [card] [Subflow](/block-reference/advanced/sub-graph)
>
> Executes another flow. Inputs and outputs are defined by Flow Input and Flow Output nodes within the subflow.
> [card] [Wait For Event](/block-reference/advanced/wait-for-event)
>
> Waits for a specific event to be raised by a 'Raise Event' node or the host workflow. The event name can be configured.
## Agents
> [card] [Agent](/block-reference/agents/agent)
>
> Executes a task by intelligently selecting and using available tools. The agent will analyze the task, break it down into steps, and execute the appropriate tools to accomplish the goal.
> [card] [Template Agent](/block-reference/agents/template-agent)
>
> Intelligently populates templates by gathering missing information using tools or by asking users. Features flexible tool-based operations, batch template population, and intelligent context gathering.
## Documents
> [card] [Add File to Document Store](/block-reference/documents/add-file-to-document-store)
>
> Adds a file to the selected document store.
> [card] [Analyze Documents](/block-reference/documents/analyze-documents)
>
> Analyzes documents in a document store using aggregations like count, sum, and average. Describe your analysis in plain English — for example, "count contracts by jurisdiction" or "total settlement amount by year".
> [card] [Find Document](/block-reference/documents/find-document)
>
> Finds a single document in a document store by matching metadata fields. Add match criteria to create input ports — wire values from upstream nodes to look up documents by case number, reference ID, client name, etc.
> [card] [Search Documents](/block-reference/documents/search-documents)
>
> Searches document stores to find relevant documents. Supports semantic search (vector similarity), structured filtering (metadata queries), or hybrid mode that combines both and re-ranks results. Can search across multiple stores simultaneously.
> [card] [New Document Added](/block-reference/documents/trigger-document-store-new-record)
>
> Triggers when a new document finishes processing in a document store. Outputs the document metadata including title, type, extracted metadata, and content URL.
## Triggers
> [card] [Schedule](/block-reference/triggers/trigger-schedule)
>
> Run workflow on a schedule using cron expressions. Configure the cron expression and timezone to schedule when the workflow should execute.
# Array Block
Source: https://docs.odella.ai/block-reference/data/array
Construct an array from one or more inputs of any type, with options for flattening and merging arrays
## Overview
The Array Block is used to construct an array from one or more inputs of any type. It can also be used to merge multiple arrays into a single array using the `Flatten` setting.
By default, inputs will be flattened, so if any of the inputs are arrays themselves, they will be merged into the output array. This behavior can be disabled by unchecking the `Flatten` setting.

## Inputs
**Input \[i]** `any`
An input to create the array from. If an array, will be flattened if the "Flatten" option is enabled. The number of inputs is dynamic based on how many connections there are.
## Outputs
**Output** `any[]`
The array created from the inputs.
**Indices** `number[]`
The indices of the array. I.e. \[0, 1, 2, 3, etc]. Useful for zipping with the output array to get the indexes.
**Length** `number`
The length of the output array.
## Editor Settings
**Flatten** `boolean` (default: true)
If enabled, array inputs will be flattened before joining.
**Deep** `boolean` (default: false)
If enabled, array inputs will be flattened recursively.
## Example: Creating an Array from Multiple Inputs
1. Add an Array Block to your flow.
2. Connect three Text blocks with values `"Hello"`, `"World"`, and `"!"` to `Input 1`, `Input 2`, and `Input 3` of the Array Block respectively.
The `Output` of the Array Block will be `["Hello", "World", "!"]`.
## Example: Creating an Array from Array Inputs
1. Add an Array Block to your flow.
2. Connect two Array blocks with values `["One", "Two"]` and `["Three", "Four"]` to `Input 1` and `Input 2` of the Array Block.
3. Enable the `Flatten` setting.
The `Output` of the Array Block will be `["One", "Two", "Three", "Four"]`.
## Example: Using the Indices Output
1. Add an Array Block with value `["Apple", "Banana", "Cherry"]`.
2. Add a Text Block with text `"[{{index}}] - {{fruit}}"`.
3. Connect the `Output` of the Array Block to the `Fruit` input of the Text Block.
4. Connect the `Indices` output of the Array Block to the `Index` input of the Text Block.
5. Enable the `Split` setting on the Text Block.
The `Output` of the Text Block will be `["[0] - Apple", "[1] - Banana", "[2] - Cherry"]`.
## Flattening Arrays
The `Flatten` setting treats each element of an array input as a separate element to be added to the main array. The `Deep` setting recursively flattens all array inputs.
> [!WARNING]
>
> With flatten disabled, you can get arrays of arrays. These are not well supported in Odella and you may have to use a [Code Block](/block-reference/advanced/code) to work with them.
## Error Handling
If an input is missing or null, the Array Block will simply ignore it during the array creation process.
## FAQ
> [accordion] What happens if I connect a non-array block to the Array Block?
>
> The Array Block will treat it as a single element to be added to the array.
> [accordion] Can I connect an Array Block to another Array Block?
>
> Yes. If `Flatten` is enabled, each element of the input array will be treated as a separate element. If disabled, the input array will be added as a single element.
> [accordion] What happens if an input is missing or null?
>
> The Array Block will simply ignore it during the array creation process.
## See Also
* [Code Block](/block-reference/advanced/code)
* [Text Block](/block-reference/data/text)
* [Number Block](/block-reference/data/number)
* [Get Value Block](/block-reference/modifiers/get-value)
* [Pop Block](/block-reference/modifiers/pop)
# Bool Block
Source: https://docs.odella.ai/block-reference/data/boolean
Output a boolean constant or convert an input value into a boolean
## Overview
The Bool Block is used to output a boolean constant or convert an input value into a boolean. It's particularly useful when you need to create a boolean value for use in other blocks, such as the [If Block](/block-reference/logic/if-else) or [If/Else Block](/block-reference/logic/if-else).

## Inputs
**Input** `any`
The value to be converted to a boolean. This input is only available if "Use Value Input" is enabled.
## Outputs
**Value** `boolean`
The boolean value. If "Use Value Input" is enabled, this will be the input value converted to a boolean. Otherwise, outputs the constant value specified in settings.
## Editor Settings
**Value** `boolean` (default: false)
The constant boolean value to output. This setting is only available if "Use Value Input" is disabled.
**Use Value Input** `boolean` (default: false)
If enabled, the block will convert an input value to a boolean. If disabled, the block will output the constant boolean value specified in the Value setting.
**Width** `number` (default: 130)
The width of the block in pixels.
**Hidden** `boolean` (default: true)
Whether the block is hidden in the block menu.
## Conversion Rules
The Bool Block follows JavaScript's rules for truthy and falsy values when converting input values to booleans. If no input is connected when "Use Value Input" is enabled, it will fall back to using the Value setting.
## Example: Using a Constant Boolean Value
1. Add a Bool Block to your flow.
2. Set the `Value` setting to `true`.
3. Run the flow. The `Value` output of the Bool Block will be `true`.
## Example: Converting an Input to a Boolean
1. Add a Bool Block to your flow.
2. Enable the `Use Value Input` setting.
3. Add a [Text Block](/block-reference/data/text) to your flow and set the text to `"Hello"`.
4. Connect the output of the Text Block to the `Input` of the Bool Block.
5. Run the flow. The `Value` output of the Bool Block will be `true`, because the string `"Hello"` is a truthy value in JavaScript.
## Error Handling
The Bool Block cannot error under normal circumstances. If "Use Value Input" is enabled and no input is connected, the block will fall back to using the Value setting.
## FAQ
> [accordion] What values are considered truthy and falsy in JavaScript?
>
> The following values are considered falsy:
>
> * `false`
> * `0`
> * `''` (empty string)
> * `null`
> * `undefined`
> * `NaN`
>
> All other values are considered truthy.
> [accordion] What happens if no input is connected when Use Value Input is enabled?
>
> The block will fall back to using the Value setting specified in the editor settings.
## See Also
* [If Block](/block-reference/logic/if-else)
* [Match Block](/block-reference/logic/match)
* [Text Block](/block-reference/data/text)
* [Array Block](/block-reference/data/array)
* [Number Block](/block-reference/data/number)
# Date Block
Source: https://docs.odella.ai/block-reference/data/date
Select a date value for use in your workflow
## Overview
The Date Block provides a date picker to select a specific date value that can be used in your workflow. The selected date is output in ISO string format.

## Inputs
This block does not have any inputs.
## Outputs
**data** `datetime`
The selected date value in ISO string format.
## Editor Settings
**Date** `datePicker`
The date value to output. Uses a date picker interface to select a date.
**Width** `number` (default: 300)
The width of the block in pixels.
**Hidden** `boolean` (default: true)
Whether the block is hidden in the block menu.
## Example: Using a Date Block
1. Add a Date Block to your flow
2. Use the date picker to select your desired date
3. Connect the `data` output to another block that accepts datetime values
4. Run the flow. The selected date will be passed to the connected block.
## Error Handling
The Date Block will throw an error if:
* The selected date is invalid
* The date cannot be converted to ISO string format
> [!WARNING]
>
> Ensure the selected date is valid to avoid errors in blocks consuming the date value.
## FAQ
> [accordion] What format is the date output in?
>
> The Date Block outputs dates in ISO string format (e.g. "2024-01-01T00:00:00.000Z").
> [accordion] Can I input dates programmatically?
>
> No, the Date Block only allows date selection through its date picker interface. For programmatic date handling, consider using other blocks that accept date inputs.
## See Also
* [Number Block](/block-reference/data/number)
* [Text Block](/block-reference/data/text)
* [Bool Block](/block-reference/data/boolean)
# File Block
Source: https://docs.odella.ai/block-reference/data/file
Upload and use file data in your workflow
## Overview
The File Block allows you to upload and use file data in your workflow. It supports various file types including PDF, Microsoft Word documents (.doc, .docx), and CSV files. This block is particularly useful when you need to work with external data or documents within your flow.

## Inputs
This block does not have any inputs.
## Outputs
**data** `file`
The uploaded file data that can be used by other blocks in the workflow.
## Editor Settings
**File** `file`
Upload a file from your local system. Supported file types include:
* PDF files (.pdf)
* Microsoft Word documents (.doc, .docx)
* CSV files (.csv)
**Width** `number` (default: 300)
The width of the block in pixels.
**Hidden** `boolean` (default: true)
Whether the block is hidden in the block menu.
## Example: Using a File Block with PDF Analysis
1. Add a File Block to your flow.
2. In the block's settings, click "Upload File" and select a PDF document from your local file system.
3. Connect the `data` output of the File Block to an AI block capable of analyzing PDF content, such as a custom PDF Analysis block.
4. Run your flow. The PDF content will be processed by the AI block for further analysis or extraction.
## Error Handling
The File Block will throw an error if:
* No file data is provided
* The file provider is not available
* The file upload fails or cannot be accessed
> [!WARNING]
>
> Ensure that you have the necessary permissions to use and process the files you upload, especially when working with sensitive or copyrighted material.
## FAQ
> [accordion] What file types are supported?
>
> The File Block supports:
>
> * PDF files (.pdf)
> * Microsoft Word documents (.doc, .docx)
> * CSV files (.csv)
> [accordion] Can I use the File Block to upload multiple files at once?
>
> No, the File Block is designed to handle one file at a time. If you need to work with multiple files, you can use multiple File Blocks in your workflow.
> [accordion] How can I process the uploaded file data?
>
> The file data output from the File Block can be connected to other blocks in your workflow that are capable of processing the specific file type. For example, you might connect a PDF file to a PDF text extraction block, or a CSV file to a data analysis block.
## See Also
* [Text Block](/block-reference/data/text)
* [Table Block](/block-reference/loaders/read-table)
* [Analyze Table Block](/block-reference/ai/analyze-table)
# Image Block
Source: https://docs.odella.ai/block-reference/data/image
Define a static image for use with other nodes. Can convert a binary type into an image type.
## Overview
The Image Block is used to define a static image for use with other blocks. It supports PNG, JPEG, and JPG formats and allows you to select an image file from your local system.

## Inputs
This block does not have any inputs.
## Outputs
**image** `image`
The image that was loaded or converted from the input data.
## Editor Settings
**Image** `file`
The image file to be used. Click to select an image from your local file system.
**Width** `number` (default: 250)
The width of the block in pixels.
**Hidden** `boolean` (default: true)
Whether the block is hidden in the block menu.
## Example: Using a Static Image
1. Add an Image Block to your flow
2. In the block's settings, click to select an image file from your local file system
3. Connect the `image` output to another block that accepts image inputs
4. Run your flow. The selected image will be passed to the connected block.

## Error Handling
The Image Block will throw an error if:
* No image data is provided
* The file provider is not available
* The image file cannot be accessed or loaded
> [!WARNING]
>
> Ensure that you have selected a valid image file and have the necessary permissions to access it.
## FAQ
> [accordion] What image formats are supported?
>
> The Image Block supports:
>
> * PNG (.png)
> * JPEG/JPG (.jpeg, .jpg)
> [accordion] Can I use the Image Block to convert binary data to an image?
>
> Yes, the Image Block can convert binary data into an image type that can be used by other blocks in your workflow.
> [accordion] What happens if no image is selected?
>
> The block will throw an error if no image data is provided. You must select an image file for the block to function properly.
## See Also
* [File Block](/block-reference/data/file)
* [Workflow data types](/workflow/data-types)
* [Text Block](/block-reference/data/text)
# Number Block
Source: https://docs.odella.ai/block-reference/data/number
Output a constant number value or convert an input value into a number
## Overview
The Number Block is used to output a constant number value or convert an input value into a number. It can also be configured to round the number to a specified number of decimal places.

## Inputs
**input** `any`
The value to be converted into a number. This input is only available if the "Use Value Input" setting is enabled. If the input cannot be converted to a number, the block will use the Value setting instead.
## Outputs
**value** `number`
The output number value. This can either be a constant value or a converted input value.
## Editor Settings
**value** `number` (default: 0)
The constant number value to be outputted. This value is used when either:
* The "Use Value Input" setting is disabled
* The "Use Value Input" setting is enabled but no input is connected
* The "Use Value Input" setting is enabled but the input cannot be converted to a number
**useValueInput** `boolean`
When enabled, shows an input port that accepts any value and attempts to convert it to a number.
**round** `boolean` (default: false)
When enabled, rounds the output number to the specified number of decimal places.
**roundTo** `number` (default: 0)
The number of decimal places to round to when the "Round" setting is enabled.
## Example: Output a constant number
1. Add a Number Block to your flow.
2. Set the `Value` to `123.456`.
3. Run the flow. The `value` output of the Number Block will be `123.456`.

## Example: Convert a string to a number
1. Add a Text Block to your flow and set the text to `"123.456"`.
2. Add a Number Block and enable the `Use Value Input` setting.
3. Connect the Text Block to the `input` of the Number Block.
4. Run the flow. The `value` output of the Number Block will be `123.456`.

## Example: Round a number
1. Add a Number Block to your flow.
2. Set the `Value` to `123.456`.
3. Enable the `Round` setting and set `Round To` to `2`.
4. Run the flow. The `value` output of the Number Block will be `123.46`.

## Error Handling
The Number Block will not error under normal circumstances. If the input value cannot be converted to a number when "Use Value Input" is enabled, it will default to using the Value setting.
## FAQ
> [accordion] Can I use the Number Block to convert a boolean to a number?
>
> Yes, you can use the Number Block to convert a boolean to a number. A `true` value will be converted to `1` and a `false` value will be converted to `0`.
> [accordion] What happens if I connect a non-numeric value to the Input of the Number Block?
>
> The Number Block will attempt to convert the input value to a number. If the conversion is not possible, the block will default to using the Value setting.
> [accordion] Can I use the Number Block to round a number to an integer?
>
> Yes, you can use the Number Block to round a number to an integer by enabling the `Round` setting and setting `Round To` to `0`.
## See Also
* [Text Block](/block-reference/data/text)
* [Bool Block](/block-reference/data/boolean)
* [Compare Block](/block-reference/logic/compare)
# Object Block
Source: https://docs.odella.ai/block-reference/data/object
Create an object from input values and a JSON template
## Overview
The Object Block creates an object from input values and a JSON template. It automatically escapes input values and inserts them into the template, supporting any data type as input and outputting an object.

## Inputs
**(Dynamic)** `any`
Input values to be inserted into the JSON template. Input names are dynamically generated from the JSON template based on values wrapped in double curly braces (e.g. `{{input}}`). Non-string inputs are automatically converted to strings.
## Outputs
**output** `object | object[]`
The object or array created from the input values and JSON template. The type will be `object[]` if the template defines an array, otherwise it will be `object`.
## Editor Settings
**jsonTemplate** `code` (default: \{ "key": "\{\{input}}" })
The JSON template for creating the object. Input values are inserted into this template using double curly brace syntax (e.g. `{{input}}`). The template must be valid JSON.
Values wrapped in quotes (e.g. `"{{input}}"`) will be treated as strings and escaped appropriately. Values without quotes will be inserted directly as JSON values.
**width** `number` (default: 200)
The width of the block in pixels.
**hidden** `boolean` (default: true)
Whether the block is hidden in the block menu.
## Example: Creating an object from multiple inputs
1. Add an Object Block and set the JSON Template to:
```json theme={"system"}
{
"name": "{{name}}",
"age": {{age}},
"job": "{{job}}"
}
```
2. Add two Text Blocks with values "John Doe" and "Engineer". Connect to `name` and `job` inputs.
3. Add a Number Block with value 30. Connect to `age` input.
4. Run the flow. The Object Block output will be:
```json theme={"system"}
{
"name": "John Doe",
"age": 30,
"job": "Engineer"
}
```

## Error Handling
The Object Block will error if:
* The JSON Template is not a valid JSON string
* The interpolated JSON string (after inserting input values) is not valid JSON
## FAQ
> [accordion] Can I use the Object Block to create an array?
>
> Yes, set the JSON Template to a valid JSON array string:
>
> ```json theme={"system"}
> ["{{value1}}", "{{value2}}", "{{value3}}"]
> ```
> [accordion] How are input values escaped?
>
> Input values are automatically escaped based on whether they appear in quotes in the template:
>
> * Values in quotes (e.g. `"{{input}}"`) are escaped as strings using `JSON.stringify()`
> * String values in quotes get a single `JSON.stringify()`
> * Non-string values in quotes get a double `JSON.stringify()` to properly escape them
> * Values without quotes are stringified directly as JSON values
> [accordion] What happens to null or undefined input values?
>
> If an input value is null or undefined, it will be converted to `null` in the output JSON.
## See Also
* [Array Block](/block-reference/data/array)
* [Text Block](/block-reference/data/text)
* [Get Value Block](/block-reference/modifiers/get-value)
* [Code Block](/block-reference/advanced/code)
# Random Number
Source: https://docs.odella.ai/block-reference/data/random-number
Outputs a random number between the configured min and max values.
## Random Number
Outputs a random number between the configured min and max values.
Can be configured to output only integers, and whether the max value is inclusive or exclusive.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `randomNumber` |
| Display name | Random Number |
| Group | Numbers |
# Text Block
Source: https://docs.odella.ai/block-reference/data/text
Output a string of text with dynamic interpolation using {{tags}}
## Overview
The Text Block outputs a string of text and can interpolate values using `{{tags}}` within the text. The inputs are dynamically generated based on the interpolation tags used in the text.

## Inputs
**(Dynamic)** `string`
The inputs are dynamically generated based on the interpolation tags used in the text. For example, if the text contains `{{name}}`, an input named `name` will be created. All inputs are optional and accept string values. If an input is not connected, its tag will be replaced with an empty string.
## Outputs
**output** `string`
The output text after interpolating all input values into their corresponding tags.
## Editor Settings
**text** `code` (default: \{\{input}})
The text to output. You can use interpolation tags in the format `{{tag}}` to insert input values. The text supports markdown formatting and will be displayed with syntax highlighting in the editor.
**width** `number` (default: 250)
The width of the block in pixels.
**hidden** `boolean` (default: true)
Whether the block is hidden in the block menu.
## Example: Simple Text Output
1. Add a Text Block to your flow
2. Set the text to `Hello World!`
3. Run the flow. The output will be `Hello World!`

## Example: Using Interpolation
1. Add a Text Block and set the text to `Hello {{name}}!`
2. Add another Text Block with value "World"
3. Connect the second block's output to the `name` input of the first block
4. Run the flow. The output will be `Hello World!`

## Error Handling
The Text Block handles missing or null inputs gracefully by replacing their tags with empty strings. No errors will be thrown during normal operation.
## FAQ
> [accordion] Can I use multiple interpolation tags?
>
> Yes, you can use any number of unique interpolation tags in your text. Each tag will create a corresponding input on the block.
> [accordion] What happens if an input is missing?
>
> If an input is not connected or its value is null, the corresponding tag will be replaced with an empty string in the output.
> [accordion] Does the Text Block support markdown?
>
> Yes, the text content supports markdown formatting and will be displayed with syntax highlighting in the editor.
## See Also
* [Object Block](/block-reference/data/object)
* [Number Block](/block-reference/data/number)
* [Code Block](/block-reference/advanced/code)
# Add File to Document Store
Source: https://docs.odella.ai/block-reference/documents/add-file-to-document-store
Adds a file to the selected document store.
## Add File to Document Store
Adds a file to the selected document store.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `addFileToDocumentStore` |
| Display name | Add File to Document Store |
| Group | Documents |
# Analyze Documents
Source: https://docs.odella.ai/block-reference/documents/analyze-documents
Analyzes documents in a document store using aggregations like count, sum,
## Analyze Documents
Analyzes documents in a document store using aggregations like count, sum,
and average. Describe your analysis in plain English — for example,
"count contracts by jurisdiction" or "total settlement amount by year".
## Block metadata
| Field | Value |
| - | - |
| Block ID | `analyzeDocuments` |
| Display name | Analyze Documents |
| Group | Documents |
# Find Document
Source: https://docs.odella.ai/block-reference/documents/find-document
Finds a single document in a document store by matching metadata fields.
## Find Document
Finds a single document in a document store by matching metadata fields.
Add match criteria to create input ports — wire values from upstream nodes
to look up documents by case number, reference ID, client name, etc.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `findDocument` |
| Display name | Find Document |
| Group | Documents |
# Search Documents
Source: https://docs.odella.ai/block-reference/documents/search-documents
Searches document stores to find relevant documents.
## Search Documents
Searches document stores to find relevant documents.
Supports semantic search (vector similarity), structured filtering (metadata queries),
or hybrid mode that combines both and re-ranks results.
Can search across multiple stores simultaneously.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `searchDocuments` |
| Display name | Search Documents |
| Group | Documents |
# New Document Added
Source: https://docs.odella.ai/block-reference/documents/trigger-document-store-new-record
Triggers when a new document finishes processing in a document store. Outputs the document metadata including title, type, extracted metadata, and content URL.
## New Document Added
Triggers when a new document finishes processing in a document store. Outputs the document metadata including title, type, extracted metadata, and content URL.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `trigger:document-store-new-record` |
| Display name | New Document Added |
| Group | Documents |
# AI-Fill PDF
Source: https://docs.odella.ai/block-reference/draft/ai-fill-pdf
Fills a PDF form using AI. Extracts form fields from a PDF and uses a
## AI-Fill PDF
Fills a PDF form using AI. Extracts form fields from a PDF and uses a
vision-language model to populate them based on the provided context.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `aiFillPdf` |
| Display name | AI-Fill PDF |
| Group | Draft, AI |
# Multi-Modal Draft Block
Source: https://docs.odella.ai/block-reference/draft/draft
Generate various document types using AI-powered drafting capabilities with text and image inputs
## Overview
The Multi-Modal Draft Block leverages AI to generate various types of documents based on user prompts, context, and images. It offers a set of example templates for common document types and an optimized custom template feature for more specific drafting needs. This block intelligently incorporates both textual and visual information to create comprehensive and context-aware documents.

## Inputs
**systemPrompt** `string`
The system prompt to send to the model. This provides high-level instructions or context for the AI model.
**prompt** `string`
The prompt to send to the model. Only available when "Use Prompt Input" is enabled.
**images** `image[]`
An array of images to be analyzed and incorporated into the document. Only available when "Multi-Modal" is enabled.
**(Template Variables)** `string`
When using templates, additional inputs are dynamically generated based on the template's variables. These inputs are used to customize the template output.
## Outputs
**output** `string`
The generated document draft based on the inputs and template.
**duration** `number`
The time taken to generate the draft in milliseconds.
**wordCount** `number`
The number of words in the generated draft.
## Editor Settings
**AI Model** `string` (default: gpt-4)
The AI model to use for document generation. Available models are dynamically populated based on your configuration.
**Multi-Modal** `boolean` (default: false)
When enabled, allows the block to process both text and image inputs to generate the output.
**Use Prompt Input** `boolean` (default: false)
When enabled, allows direct prompt input instead of using templates.
**Drafting Prompt Template** `string` (default: Legal Brief)
Select from predefined templates: Legal Brief, Research Report, Email, or Letter. Only available when "Use Prompt Input" is disabled.
**Word Count** `number` (default: 800)
The target word count for the generated document. Only available when "Use Prompt Input" is disabled.
## Example Templates
The Draft Block includes the following pre-configured templates:
* Legal Brief
* Research Report
* Email
* Letter
Each template is optimized for its specific use case and includes relevant variables for customization.
## Example: Using a Template
1. Add a Draft Block to your flow
2. Select your desired template from "Drafting Prompt Template"
3. Configure the word count and other settings
4. Connect required inputs based on the template variables
5. Run the flow to generate your document

## Error Handling
The Draft Block includes robust error handling with automatic retries for:
* API rate limit exceeded (429 errors)
* API timeouts (408 errors)
* Network failures
* Other recoverable errors
The block will display appropriate error messages and retry automatically when possible.
> [!WARNING]
>
> The block has a maximum retry time of 5 minutes and will throw an error if unable to complete within this timeframe.
## FAQ
> [accordion] How does Multi-Modal drafting work?
>
> When Multi-Modal is enabled, the block can process both text and image inputs simultaneously. The AI model analyzes the images and incorporates relevant visual information into the generated document.
> [accordion] What's the difference between using a template and direct prompt input?
>
> Templates provide structured, pre-configured prompts optimized for specific document types. Direct prompt input gives you more flexibility but requires you to craft your own prompting strategy.
> [accordion] How are retries handled?
>
> The block automatically retries failed attempts with exponential backoff, with delays between 500ms and 5000ms. It handles rate limits and timeouts gracefully while keeping you informed of retry status.
## See Also
* [Ask AI Block](/block-reference/ai/ai)
* [Text Block](/block-reference/data/text)
* [Image Block](/block-reference/data/image)
* [Object Block](/block-reference/data/object)
# Populate Template Block
Source: https://docs.odella.ai/block-reference/draft/populate-template
Intelligently fill a pre-built template using AI, handling various content types including text, tables, and images
## Overview
The Populate Template Block is a powerful tool that combines pre-built templates with AI capabilities to generate comprehensive, context-aware documents. This block takes a template created in our template editor and uses a connected AI model to intelligently fill in the content based on the supplied context and the structure of the document itself.

## Inputs
**systemPrompt** `string`
The system prompt to send to the model. This provides high-level instructions or context for the AI model.
**context** `string` *required*
The context to support the population of the template. This can include background information, specific requirements, or any other relevant details.
**images** `image[]`
Any images to be used to populate the template. These can be referenced and incorporated into the final document.
## Outputs
**document** `file`
The completed template document with all fields populated.
**duration** `number`
The time taken to generate the document in milliseconds.
## Editor Settings
**templateId** `dropdown`
The template you wish to populate. Select from available templates in your workspace.
**model** `dropdown`
The AI model to use for generating content. Options are dynamically populated based on available models.
**temperature** `number` (default: 0.3)
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
**maxTokens** `number` (default: 16384)
The maximum number of tokens to generate in the chat completion.
## Example: Generating a Business Report
1. Create a template in the template editor with placeholders for your content
2. Add a Populate Template block to your flow
3. Select your template from the Templates dropdown
4. Configure the AI Model and parameters as needed
5. Connect your context and any images to the corresponding inputs
6. Run your flow to generate the populated document

## Error Handling
The block will retry failed attempts with the following behavior:
* Maximum retry time of 2 minutes
* Exponential backoff starting at 500ms up to 5000ms
* Traces failed attempts for debugging
* Aborts if the process is cancelled
Common errors include:
* Missing template provider
* Missing LLM provider
* Missing file provider
* No template ID selected
* Failed to populate template fields
> [!WARNING]
>
> Always ensure you have the necessary providers configured and a template selected before running the block.
## FAQ
> [accordion] What happens if template fields can't be populated?
>
> If the block fails to populate any template fields, it will throw an error. Fields that are successfully populated will be included in the output document.
> [accordion] Can I customize the AI model parameters?
>
> Yes, you can adjust the temperature and max tokens settings to control the AI's output. Lower temperature values (0.2-0.3) produce more focused results, while higher values produce more creative ones.
> [accordion] How are images handled in templates?
>
> Images provided through the images input can be referenced and incorporated into the template. The AI model can use these images for context when populating related fields.
## See Also
* [Draft Block](/block-reference/draft/draft)
* [Text Block](/block-reference/data/text)
* [Image Block](/block-reference/data/image)
# Table to File Block
Source: https://docs.odella.ai/block-reference/draft/table-to-file
Convert tabular data into a CSV file
## Overview
The Table to File Block converts tabular data into a CSV (Comma-Separated Values) file. This block is particularly useful when you need to export data from your flow in a widely compatible format for further analysis or sharing.

## Inputs
**table** `table` *required*
The table to convert. The input will be coerced to a table format if needed.
## Outputs
**file** `file`
The converted file output in CSV format.
**duration** `number`
The time taken to process the conversion in milliseconds.
## Editor Settings
**formats** `string[]`
The output file formats to generate. Currently only supports CSV format.
## Example: Exporting a Table to CSV
1. Add a Table to File block to your flow.
2. Connect your input table to the `table` input of the Table to File block.
3. Run your flow. The block will output a CSV file containing your table data.

## Error Handling
The block will error if:
* No Docme endpoint is configured in settings
* The input table is invalid or cannot be coerced to a table format
> [!WARNING]
>
> Ensure that the input table data is properly structured and that your environment is correctly configured with a Docme endpoint.
## FAQ
> [accordion] What file formats are supported?
>
> Currently, the Table to File block only supports CSV (Comma-Separated Values) format. Additional formats may be added in future updates.
> [accordion] How does the block handle data type conversion?
>
> The block will attempt to coerce the input data into a table format if it's not already in the correct format. This provides flexibility in handling different input data structures.
## See Also
* [Table Block](/block-reference/loaders/read-table)
* [File Block](/block-reference/data/file)
* [Draft Block](/block-reference/draft/draft)
# Text to File Block
Source: https://docs.odella.ai/block-reference/draft/text-to-file
Convert text or markdown into styled document files
## Overview
The Text to File Block transforms plain text or markdown into styled document files. This block is particularly useful for creating professional-looking documents from simple text input. It supports multiple output formats, allowing you to generate files that can be easily shared or further edited in popular document processing applications.

## Inputs
**text** `string` *required*
The text to convert to files. The input will be coerced to a string if needed.
## Outputs
**files** `file[]`
The converted file output in the specified formats.
**duration** `number`
The time taken to process the conversion in milliseconds.
## Editor Settings
**formats** `string[]`
The output file formats to generate. Supported formats:
* pdf: Portable Document Format
* docx: Microsoft Word Document
## What is Markdown?
Markdown is a simple way to format text that looks great on any device. It doesn't do anything fancy like change font sizes or colors, but it does make it easy to create:
* **Bold** or *italic* text
* Lists (like this one!)
* Headers of different sizes
* Links to websites
* And more!
You don't need to know markdown to use this block, but if you do, you can create more structured and styled documents easily.
## Example: Creating a PDF Report
1. Add a Text to File block to your flow.
2. Connect a Text block with your report content to the `text` input. You can use markdown formatting if desired.
3. In the block settings, select "PDF" as the Output Format.
4. Run your flow. The block will output a PDF file containing your styled report.

## Error Handling
The block will retry failed attempts with the following behavior:
* Maximum retry time of 5 minutes
* Exponential backoff starting at 500ms up to 5000ms
* Traces failed attempts for debugging
* Aborts if the process is cancelled
Common errors include:
* No Docme endpoint configured in settings
* Empty or missing input text
* API rate limit exceeded (429)
* Internal service errors (500)
> [!WARNING]
>
> Always ensure your environment is correctly configured with a Docme endpoint and that input text is properly formatted.
## FAQ
> [accordion] Do I need to know markdown to use this block?
>
> No, you don't need to know markdown. You can input plain text, and the block will still convert it into a styled document. However, knowing markdown can help you create more structured and formatted documents easily.
> [accordion] Can I generate multiple file formats at once?
>
> Yes, you can select multiple output formats in the block settings. The block will generate a file for each selected format and return them in the output array.
> [accordion] How does the block handle images or other media in the input text?
>
> If you're using markdown and include image links, the block will attempt to download and embed these images in the output files. However, other media types may not be supported, depending on the output format.
## See Also
* [Text Block](/block-reference/data/text)
* [File Block](/block-reference/data/file)
* [Draft Block](/block-reference/draft/draft)
# Confirm Block for Human Approval Steps
Source: https://docs.odella.ai/block-reference/io/confirm
Use the Confirm block to ask for human approval, wait for confirmation, and route workflow execution based on a yes or no response.

## Overview
Use the Confirm block when a workflow needs a human approval step before it continues. The block prompts a user for confirmation and routes the value through either the positive or negative output, making it useful for approvals, review gates, delete confirmations, publishing checks, and other control-flow decisions. Pair it with [Flow Output](/block-reference/io/graph-output) to return the approval result or [If/Else](/block-reference/logic/if-else) to branch the workflow after confirmation.
## Inputs
**prompt** `string`
The message to display to the user when prompting for confirmation. Only available when "Use Input" is enabled.
**wait** `any`
A value to wait for before showing the confirmation prompt. Only available when "Wait For Input" is enabled.
**value** `string`
A value that will be passed through to either the True or False output depending on the user's response.
## Outputs
**output** `any`
The `value` input is passed through this output if the user confirms positively.
**falseOutput** `any`
The `value` input is passed through this output if the user confirms negatively.
## Editor Settings
**prompt** `string` (default: Please confirm to continue.)
The message to display to the user when prompting for confirmation. Only editable when "Use Input" is disabled.
**useInput** `boolean` (default: false)
When enabled, allows the prompt message to be provided via the prompt input port instead of the editor settings.
**useWaitForInput** `boolean` (default: false)
When enabled, delays showing the confirmation prompt until the "Wait For" input receives a value.
**renderingFormat** `string`
The format to render the prompt in. Can be either "preformatted" or "markdown".
## Example: Confirming a Delete Action
1. Add a Confirm Block to your flow before a critical delete action.
2. Set the `prompt` to "Are you sure you want to delete this item? This action cannot be undone."
3. Connect your delete action to the `value` input
4. The delete action will only execute if the user confirms positively via the `output` port. The `falseOutput` port can be used to handle the negative confirmation case.
## Error Handling
The Confirm Block does not typically produce errors as it simply waits for user input. However, if there are issues with the user interface or the block fails to receive a response, it may timeout and return an error.
> [!WARNING]
>
> Always provide clear and concise messages to users to ensure they understand the implications of their confirmation or denial.
## FAQ
> [accordion] What's the difference between using the prompt setting vs input?
>
> When "Use Input" is disabled, the prompt message is set statically in the editor settings. When enabled, the prompt can be dynamically provided via the prompt input port.
> [accordion] How does the Wait For Input feature work?
>
> When "Wait For Input" is enabled, the confirmation prompt won't be shown until a value is received on the "Wait For" input port. This allows you to sequence confirmations after other operations complete.
> [accordion] What happens to the value input?
>
> The value input is passed through to either the True or False output depending on how the user responds to the confirmation prompt. This allows you to conditionally route data based on user confirmation.
## See Also
* [User Input Block](/block-reference/io/user-input)
* [Flow Output Block](/block-reference/io/graph-output)
* [Conditional Block](/block-reference/logic/if-else)
* [Race Inputs Block](/block-reference/logic/race-inputs)
* [Text Block](/block-reference/data/text)
# Flow Input Block
Source: https://docs.odella.ai/block-reference/io/graph-input
Define inputs for your flow, enabling reusable and dynamic workflows

## Overview
The Flow Input Block is a crucial component for creating dynamic and reusable flows. It allows you to define inputs that can be passed into your flow when it's called via the SDK or used as a subflow. This flexibility enables you to create versatile workflows that can adapt to different scenarios based on the input provided.
## Inputs
**default** `any`
The default value for the input if no value is provided when the flow is called. Only available if the `Use Default Value Input` setting is enabled.
## Outputs
**data** `any`
The value of the input. This will be the value provided when the flow is called, or the default value if no value is provided. The data type matches the type specified in the Editor Settings.
## Editor Settings
**id** `string` *required*
The unique identifier for the input. This ID is used when calling the flow and defines the input's name in the UI.
**dataType** `string` (default: string)
Specifies the expected data type for the input.
**defaultValue** `any`
The default value used when no input is provided during flow execution.
**useDefaultValueInput** `boolean` (default: false)
When enabled, allows the default value to be provided via an input port.
**editor** `string` (default: auto)
The editor to use when editing this value in the UI. Make sure this matches the data type.
Options:
* none: No editor
* auto: Automatically select editor based on data type
* string: String editor
* number: Number editor
* code: Code editor
* dataTypeSelector: Data type selector
* stringList: String list editor
* keyValuePair: Key-value pair editor
* toggle: Toggle switch editor
## Examples
### Basic Input Definition
1. Add a Flow Input Block to your flow
2. Set the ID to `username` and the Data Type to `string`
3. Set a Default Value of `"Guest"`
Now, your flow has an input named `username` that defaults to "Guest" if no value is provided.
### Using Flow Input in a Subflow
1. Create a new flow with a Flow Input Block
2. Set the ID to `temperature` and the Data Type to `number`
3. Add a Conditional Block that checks if the temperature is above 30°C
4. Save this flow and return to your main flow
5. Add a Subflow Block and select the flow you just created
6. The Subflow Block will now have an input port for `temperature`
This example creates a reusable subflow that can perform actions based on a temperature input.
## Error Handling
The Flow Input Block will throw an error if:
* The provided input value cannot be coerced into the specified data type
* A required input is not provided and has no default value
* For array data types, undefined inputs will be converted to empty arrays
> [!WARNING]
>
> Always ensure that your input values match the expected data types to avoid runtime errors.
## Best Practices
* Use descriptive IDs for your inputs to make your flows more readable
* Set appropriate default values to handle cases where inputs aren't provided
* Consider using the `Use Default Value Input` setting for more dynamic default values
* Choose an appropriate editor type that matches your data type
## Related Blocks
* [Flow Output Block](/block-reference/io/graph-output)
* [Subflow Block](/block-reference/advanced/sub-graph)
## Further Reading
* [Understanding Data Types](/workflow/data-types)
* [Creating Reusable Subflows](/workflow/subflows)
* [Best Practices for Flow Design](/workflow/overview)
# Flow Output Block for Workflow Results
Source: https://docs.odella.ai/block-reference/io/graph-output
Use the Flow Output block to return workflow results, expose subflow outputs, and pass typed data back from Odella flows.

## Overview
Use the Flow Output block to define what a workflow returns when it finishes. Each Flow Output block creates one named output value, making it useful for returning generated text, extracted data, files, tables, confirmation results, or structured objects from a flow. When the flow is reused as a [Subflow](/block-reference/advanced/sub-graph), each Flow Output block becomes an output port on that subflow.
## Inputs
**value** `any` *required*
The value to be outputted from the flow. The data type should match the type specified in the Editor Settings.
## Outputs
**valueOutput** `any`
The value that was passed into the block. The data type matches the type specified in the Editor Settings.
## Editor Settings
**id** `string` *required* (default: output)
The unique identifier for the output. This ID is used when referencing the output and defines the output port name when used as a subflow.
**dataType** `string` (default: string)
Specifies the expected data type for the output. The input value will be coerced to this type if necessary.
## Examples
### Basic Output Definition
1. Create a Text Block with the value "Hello, world!"
2. Add a Flow Output Block and set the ID to "greeting" and Data Type to "String"
3. Connect the Text Block to the Flow Output Block's Value input
4. In another flow, use a Subflow Block referencing the first flow
5. Run the second flow to see the "greeting" output with the value "Hello, world!"
## Error Handling
The Flow Output Block will generate an error if the data type of the input value doesn't match the specified Data Type in the Editor Settings.
> [!WARNING]
>
> Always ensure that the input value matches the specified Data Type to avoid runtime errors.
## FAQ
> [accordion] Can I have multiple Flow Output Blocks in a flow?
>
> Yes, you can have multiple Flow Output Blocks in a flow. Each block represents an individual output of the flow. Ensure that each Flow Output Block has a unique ID.
> [accordion] What happens if the ID of a Flow Output Block is not unique?
>
> If multiple Flow Output Blocks have the same ID, the flow's output will contain the value of the last processed block with that ID.
> [accordion] Can I use the Flow Output Block to output complex data types?
>
> Yes, the Flow Output Block can output any data type, including arrays and objects. Make sure to set the appropriate Data Type in the Editor Settings.
## See Also
* [Input Block](/block-reference/io/graph-input)
* [Confirm Block](/block-reference/io/confirm)
* [Subflow Block](/block-reference/advanced/sub-graph)
* [Extract Data Block](/block-reference/ai/extract-data)
* [Data Types](/workflow/data-types)
# Upload File Block
Source: https://docs.odella.ai/block-reference/io/upload-file
Allow users to upload files for use in your workflow

## Overview
The Upload File Block is a user input component that prompts users to upload a file. It's designed to wait for the user to select and upload a file before proceeding with the workflow. This block is particularly useful when you need to incorporate user-provided files into your flow for further processing or analysis.
## Inputs
**questions** `string[]`
The questions/prompts to display to the user. Only available when "Use Input" is enabled.
**wait** `any`
A value to wait for before showing the file upload prompt. Only available when "Wait For Input" is enabled.
## Outputs
**output** `file`
The uploaded file data. This can be used in subsequent blocks for processing or analysis.
## Editor Settings
**prompt** `string` (default: This is an example question?)
The message displayed to the user when prompted to upload a file. Only editable when "Use Input" is disabled.
**useInput** `boolean` (default: false)
When enabled, allows the prompt message to be provided via the questions input port instead of the editor settings.
**useWaitForInput** `boolean` (default: false)
When enabled, delays showing the file upload prompt until the "Wait For" input receives a value.
**acceptedFileTypes** `string[]`
The file types that the block will accept. Default supported types:
* PDF files (application/pdf)
* Microsoft Word documents (application/msword)
* CSV files (text/csv)
* Modern Word documents (.docx)
## Example: Uploading a CSV for Analysis
1. Add an Upload File Block to your flow.
2. Set the `prompt` to "Please upload a CSV file for analysis".
3. Connect the `output` to subsequent blocks to process the uploaded file.
4. When the flow runs, users will be prompted to upload a file matching the accepted types.
## Error Handling
* If a user attempts to upload a file type that is not in the accepted file types list, the block will display an error message and continue waiting for a valid file.
* If there are issues with file upload (e.g., network errors, file corruption), the block will fail and provide error details.
> [!WARNING]
>
> Always validate and sanitize uploaded files before processing them further in your workflow to ensure security and data integrity.
## FAQ
> [accordion] What's the difference between using the prompt setting vs input?
>
> When "Use Input" is disabled, the prompt message is set statically in the editor settings. When enabled, the prompts can be dynamically provided via the questions input port.
> [accordion] How does the Wait For Input feature work?
>
> When "Wait For Input" is enabled, the file upload prompt won't be shown until a value is received on the "Wait For" input port. This allows you to sequence file uploads after other operations complete.
> [accordion] What file types are supported?
>
> By default, the block accepts PDF files, Microsoft Word documents (both .doc and .docx formats), and CSV files. The accepted file types are configured through the MIME types in the block settings.
## See Also
* [Table Block](/block-reference/loaders/read-table)
* [Text Block](/block-reference/data/text)
* [File Block](/block-reference/data/file)
# User Input Block
Source: https://docs.odella.ai/block-reference/io/user-input
Prompt users for input during flow execution, enabling interactive workflows

## Overview
The User Input Block allows you to prompt users for input during flow execution. This block is essential for creating interactive workflows where user input is required to proceed. It can use either static prompts defined in the block settings or dynamic prompts provided via the block's input.
## Inputs
**questions** `string[]`
An array of questions to prompt the user. Only available when "Use Input" is enabled.
**wait** `any`
A value to wait for before showing the input prompt. Only available when "Wait For Input" is enabled.
## Outputs
**output** `string[]`
An array containing just the user's answers to the prompted questions.
**questions** `string[]`
An array containing just the questions that were asked.
**questionsAndAnswers** `string[]`
An array containing the questions and answers formatted as "Question\nAnswer".
## Editor Settings
**prompt** `string` (default: This is an example question?)
The message to display to the user when prompting for input. Only editable when "Use Input" is disabled.
**useInput** `boolean` (default: false)
When enabled, allows the prompt message to be provided via the questions input port instead of the editor settings.
**useWaitForInput** `boolean` (default: false)
When enabled, delays showing the input prompt until the "Wait For" input receives a value.
**renderingFormat** `string` (default: markdown)
The format to render the prompt in. Options:
* markdown: Renders the prompt as markdown
* preformatted: Renders the prompt as preformatted text
## Examples
### Static Prompt
1. Add a User Input Block to your flow.
2. Set the "Prompt" to "What is your name?" in the block settings.
3. Run the flow. It will pause and prompt the user for input.
4. After the user submits their name, the flow continues with the input as the block's output.
### Dynamic Prompts
1. Add a User Input Block and enable the "Use Input" toggle.
2. Create an Array Block with two Text Blocks: "What is your name?" and "What is your favorite color?"
3. Connect the Array Block to the User Input Block's "Questions" input.
4. Run the flow. It will prompt the user with both questions sequentially.
5. The block's output will be an array containing the user's answers.
## Error Handling
The User Input Block does not typically produce errors as it simply waits for user input. However, if there are issues with the user interface or the block fails to receive a response, it may timeout and return an error.
> [!WARNING]
>
> The User Input Block does not support input masking. Avoid using it for sensitive information like passwords.
## FAQ
> [accordion] Can I prompt for multiple inputs at once?
>
> Yes, you can use an Array Block connected to the "Questions" input to prompt for multiple inputs sequentially.
> [accordion] What happens if the user doesn't provide input?
>
> If the user submits without providing input, the block will output an empty string for that prompt.
> [accordion] How does the Wait For Input feature work?
>
> When "Wait For Input" is enabled, the input prompt won't be shown until a value is received on the "Wait For" input port. This allows you to sequence prompts after other operations complete.
> [accordion] What's the difference between the output formats?
>
> * "Answers Only" gives you just the user responses
> * "Questions Only" gives you just the questions asked
> * "Q & A" combines each question and answer pair with a newline between them
## See Also
* [Array Block](/block-reference/data/array)
* [Text Block](/block-reference/data/text)
* [Split Block](/block-reference/modifiers/chunk)
* [Join Block](/block-reference/modifiers/join)
# Read Binary Block
Source: https://docs.odella.ai/block-reference/loaders/read-binary
Read the contents of a file as binary data

## Overview
The Read Binary Block allows you to read the contents of a file as raw binary data. This is particularly useful when working with non-text files or when you need to process file contents in their original binary format.
## Inputs
**file** `file` *required*
The input file to be read as binary. The file must have a valid media type.
## Outputs
**output** `binary`
The raw binary content of the input file as a Uint8Array.
## Editor Settings
This block does not have any configurable settings in the editor.
## Example: Reading an Image File as Binary
1. Add a Read Binary block to your flow.
2. Connect a File block containing an image file to the `file` input of the Read Binary block.
3. Run your flow. The block will output the raw binary data of the image file.
## Error Handling
* If the input file is missing or invalid, the block will return an error.
* If the file is missing a media type, the block will throw an error.
* If a FileProvider is needed to load from URL but not available, the block will throw an error.
* If there are issues reading the file (e.g., file permissions, corrupted file), the block will fail and provide error details.
> [!WARNING]
>
> Be cautious when working with large files, as reading them entirely into memory as binary data may consume significant resources.
## FAQ
> [accordion] What types of files can I read with this block?
>
> The Read Binary block can read any type of file, including text files, images, audio files, executables, and more. It treats all files as raw binary data.
> [accordion] How is this different from the Read File block?
>
> While the Read File block is optimized for reading text files and can perform encoding conversions, the Read Binary block reads the raw binary content of any file without any interpretation or conversion.
> [accordion] Is there a size limit for files that can be read?
>
> The block itself doesn't impose a specific size limit, but reading very large files may be limited by available memory and system resources. For extremely large files, consider using streaming or chunking approaches.
## See Also
* [Read File Block](/block-reference/loaders/read-text)
* [File Block](/block-reference/data/file)
* [Write Binary Block](/block-reference/io/graph-output)
# Read Images
Source: https://docs.odella.ai/block-reference/loaders/read-images
Reads the contents of the specified file and outputs each page as an image.
## Read Images
Reads the contents of the specified file and outputs each page as an image.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `readImages` |
| Display name | Read Images |
| Group | Loaders |
# Read Table Block
Source: https://docs.odella.ai/block-reference/loaders/read-table
Read and parse CSV files into table data structures

## Overview
The Read Table Block is designed to read and parse CSV (Comma-Separated Values) files, converting them into structured table data that can be easily manipulated and analyzed within your workflow. This block is particularly useful for processing tabular data stored in CSV format.
## Inputs
**file** `file` *required*
The input CSV file to be read and parsed. Must have a media type of "text/csv". This should be a file data value, typically provided by a File block or another block that outputs file data.
## Outputs
**output** `table`
A table data structure containing the parsed CSV data. Each row in the table corresponds to a row in the CSV file, with columns representing the CSV fields.
## Error Handling
* If the input file is missing or invalid, the block will return an error.
* If the file lacks a media type, the block will throw an error.
* If the file's media type is not "text/csv", the block will throw an error.
* If a FileProvider is needed to load from URL but not available, the block will throw an error.
* If there are issues parsing the CSV file, the block will fail and provide error details.
> [!WARNING]
>
> Only CSV files with media type "text/csv" are currently supported. Ensure your input files are in CSV format with the correct media type.
## Example: Reading a CSV File
1. Add a Read Table block to your flow.
2. Connect a File block containing a CSV file to the `file` input.
3. Run your flow. The block will parse the CSV and output a table data structure.
## FAQ
> [accordion] What file types are supported?
>
> The Read Table block currently only supports CSV files with the media type "text/csv".
> [accordion] How does the block handle large CSV files?
>
> The block reads and parses the entire CSV file into memory. For very large files, consider available memory and processing time implications.
> [accordion] What happens if the CSV file is malformed?
>
> If there are issues parsing the CSV file due to malformed data or inconsistent structure, the block will fail and provide error details.
## See Also
* [File Block](/block-reference/data/file)
* [Analyze Table Block](/block-reference/ai/analyze-table)
* [Table Block](/block-reference/loaders/read-table)
# Read Text Block
Source: https://docs.odella.ai/block-reference/loaders/read-text
Read the contents of a file as text or markdown

## Overview
The Read Text Block is used to read and extract text content from PDF and DOCX files, outputting it as either plain text or markdown. This block is particularly useful for processing text-based documents within your workflow.
## Inputs
**file** `file` *required*
The input file to be read. Must be a PDF or DOCX file with a valid media type. This should be a file data value, typically provided by a File block or another block that outputs file data.
## Outputs
**output** `string`
The extracted text content from the file, formatted as either plain text or markdown based on the Output Text Format setting.
## Editor Settings
**Output Text Format** `string` (default: markdown)
Determines how the file content is interpreted and output. Options are:
* "Markdown": Interprets and outputs the file content as markdown
* "Text": Outputs the file content as plain text
## Example: Reading a PDF File
1. Add a Read Text block to your flow.
2. Connect a File block containing a PDF or DOCX file to the `file` input.
3. In the block settings, select your desired Output Text Format.
4. Run your flow. The block will extract and output the text content.
## Error Handling
* If the input file is missing or invalid, the block will return an error.
* If the file lacks a media type, the block will throw an error.
* If a FileProvider is needed to load from URL but not available, the block will throw an error.
* If there are issues reading the file (e.g., file permissions, corrupted file), the block will fail and provide error details.
> [!WARNING]
>
> Only PDF and DOCX files are currently supported. Ensure your input files are in one of these formats and have valid media types.
## FAQ
> [accordion] What file types are supported?
>
> The Read Text block currently supports:
>
> * PDF files (application/pdf)
> * Microsoft Word documents (.doc and .docx)
> [accordion] How does the Markdown output differ from Text?
>
> When set to Markdown output, the block will preserve formatting and structure from the original document in markdown syntax. Text output provides raw text content without formatting.
> [accordion] How does the block handle large files?
>
> The block includes retry logic for processing large files, with configurable timeout and retry settings. For extremely large files, consider potential memory usage and processing time implications.
## See Also
* [File Block](/block-reference/data/file)
* [Text To File](/block-reference/draft/text-to-file)
# Transcribe Audio
Source: https://docs.odella.ai/block-reference/loaders/transcribe-audio
Transcribes speech from an audio file or audio data using an LLM.
## Transcribe Audio
Transcribes speech from an audio file or audio data using an LLM.
Accepts either audio data type or file data type as input.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `transcribeAudio` |
| Display name | Transcribe Audio |
| Group | Loaders |
# Abort Flow Block
Source: https://docs.odella.ai/block-reference/logic/abort
Stop the execution of the entire flow immediately, either successfully or with an error

## Overview
The Abort Flow Block is used to stop the execution of the entire flow immediately. It can either "successfully" abort the flow (early-exit), or "error" abort the flow. This block is useful for stopping the flow under certain conditions or for handling errors.
## Inputs
**data** `any`
The message to abort the graph with. If provided as a string when error aborting, this will be used as the error message.
**successfully** `boolean`
Whether to successfully abort the graph (early-exit), or error abort the graph. Only available when "Use Successfully Input" is enabled in settings.
## Outputs
This block does not have any outputs.
## Editor Settings
**Successfully Abort** `boolean` (default: true)
Whether to successfully abort the graph (early-exit), or error abort the graph. Can be overridden by the "successfully" input if "Use Successfully Input" is enabled.
**Use Successfully Input** `boolean` (default: false)
When enabled, adds a "successfully" input port that can override the "Successfully Abort" setting.
**Error Message** `string`
The error message to use when error aborting (when not successfully aborting). Only used if no message is provided via the data input.
## Example: Successfully aborting a flow
1. Add an Abort Flow block to your flow.
2. Make sure the "Successfully Abort" setting is checked.
3. Connect any block to the `data` input of the Abort Flow block.
4. Run your flow. The flow will abort immediately after the Abort Flow block is processed.
## Example: Aborting a flow with an error
1. Add an Abort Flow block to your flow.
2. Uncheck the "Successfully Abort" setting.
3. Optionally, enter an error message in the "Error Message" setting.
4. Connect any block to the `data` input of the Abort Flow block.
5. Run your flow. The flow will abort with an error message.
## Error Handling
The Abort Flow Block does not produce any errors itself. However, it causes the entire flow to stop executing when it is processed, either successfully or with an error.
When error aborting, the error message is determined in this order:
1. The trimmed string value from the `data` input, if provided
2. The "Error Message" setting value, if configured
3. Default message: "Graph aborted with error"
> [!WARNING]
>
> Be cautious when using this block, as it will immediately stop the execution of your entire flow.
## FAQ
> [accordion] What happens if I connect a non-string value to the `data` input?
>
> When error aborting, non-string values will be ignored for the error message. The block will fall back to using the configured "Error Message" setting or the default error message.
> [accordion] What happens if I connect a block to the `successfully` input but 'Use Successfully Input' is disabled?
>
> The `successfully` input port won't be available and the block will use the "Successfully Abort" setting value instead.
> [accordion] What happens if I don't connect anything to the `data` input or leave the 'Error Message' setting empty?
>
> When error aborting, the flow will be aborted with the default error message "Graph aborted with error".
## See Also
* [If Block](/block-reference/logic/if-else)
* [If/Else Block](/block-reference/logic/if-else)
* [Race Inputs Block](/block-reference/logic/race-inputs)
# Checklist
Source: https://docs.odella.ai/block-reference/logic/checklist
Evaluates messages against a list of conditions.
## Checklist
Evaluates messages against a list of conditions.
All conditions must be satisfied for the messages to be routed to the success output.
If any condition fails, the messages are routed to the failure output.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `checklist` |
| Display name | Checklist |
| Group | Logic |
# Coalesce Block
Source: https://docs.odella.ai/block-reference/logic/coalesce
Returns the first non-null value from a list of inputs, similar to SQL's COALESCE function

## Overview
The Coalesce Block functions similarly to the `COALESCE` function in SQL, returning the first non-null value from a list of inputs. In Odella, "null" includes values that appear as "Not Ran" in the UI - blocks that have been excluded from the run due to control flow processing.
This block is particularly useful when working with a set of blocks where only one will run, allowing you to return the output of the first block that actually executes. See the examples section for more information on using this with a [Match Block](/block-reference/logic/match).
## Inputs
**conditional** `boolean`
If connected, this can be used to run the coalesce block conditionally. If not connected, it's treated like any other input. If this input is control-flow-excluded, the entire block will be control-flow-excluded.
**input\[i]** `any`
One of the inputs to check for nullness. The first non-null input will be passed to the output port. The number of inputs is dynamic based on how many are connected. Each input is numbered sequentially starting from 1.
## Outputs
**output** `any`
The value of the first non-null input. If all inputs are null or control-flow-excluded, the output will be control-flow-excluded.
## Editor Settings
This block has no configurable editor settings.
## Example: Default Values / Null Checks
You can use a Coalesce Block to perform null checks and set default values for a parameter.
1. Create an If block but do not connect to its input, so it will not run.
2. Connect the output of the If block to the Coalesce block.
3. Connect a Text block with a hardcoded value to the 2nd input of the Coalesce block.
4. Run the flow. The output of the Coalesce block will be the value of the Text block, since the If block was not run.
## Example: Getting a Single Value from a Match Block
1. Create a [Match Block](/block-reference/logic/match) with a few different cases, say `1`, `2`, and `3`.
2. For each case, use an [If Block](/block-reference/logic/if-else) to transform each case into a unique value, say `A`, `B`, and `C`. Use a [Text Block](/block-reference/data/text) connected to the `value` port of the If Blocks to set the value passed through for each case.
3. Connect the outputs of each If block to one of the inputs on a Coalesce block.
4. Connect an input to the Match block so that only one of the cases will run.
5. Run the flow. The output of the Coalesce block will be the value of the If block that ran.
This pattern is common when working with a Match block - you can get a unique value for each case using an If block, which is not dependent on the value passed into the Match block itself.
## Error Handling
The Coalesce block cannot error in normal operation.
## FAQ
> [accordion] Will an empty string be passed over?
>
> No, an empty string is not considered nullable for the Coalesce Block. If you want to skip over empty strings, use an If Block to check for empty strings and return null if the string is empty.
> [accordion] How are inputs numbered?
>
> Input ports are numbered sequentially starting from 1 (input1, input2, etc). The number of input ports automatically adjusts based on the highest numbered port that has a connection.
## See Also
* [Match Block](/block-reference/logic/match)
* [If Block](/block-reference/logic/if-else)
* [If/Else Block](/block-reference/logic/if-else)
# Compare Block
Source: https://docs.odella.ai/block-reference/logic/compare
Perform comparison operations between two input values

## Overview
The Compare Block allows you to perform comparison operations between two input values. It supports various comparison functions including equality, inequality, less than, greater than, and logical operations such as AND, OR, XOR, NAND, NOR, and XNOR.
## Inputs
**A** `any`
The first value for comparison. Required.
**B** `any`
The second value for comparison. Required.
**Comparison Function** `string`
The comparison function to use. Only available when "Use Comparison Function Input" is enabled in settings.
## Outputs
**Output** `boolean`
The result of the comparison operation.
## Editor Settings
**Comparison Function** `string` (default: ==)
The comparison function to be used for the operation. Available options are:
* `==`: Equal to
* `!=`: Not equal to
* `<`: Less than
* `>`: Greater than
* `<=`: Less than or equal to
* `>=`: Greater than or equal to
* `and`: Logical AND
* `or`: Logical OR
* `xor`: Logical XOR
* `nand`: Logical NAND
* `nor`: Logical NOR
* `xnor`: Logical XNOR
**Use Comparison Function Input** `boolean` (default: false)
When enabled, adds a "Comparison Function" input port that can override the comparison function setting.
## Example: Compare two numbers
1. Create a Compare Block and set the `Comparison Function` to `>`.
2. Create two Number Blocks, one with the value `5` and the other with the value `3`.
3. Connect the Number Blocks to the `A` and `B` inputs of the Compare Block respectively.
4. Run the flow. The output of the Compare Block will be `true`, because 5 is greater than 3.
## Error Handling
If input A is not provided:
* For `==` comparison: Returns `true` if B is also not provided, `false` otherwise
* For `!=` comparison: Returns `true` if B is provided, `false` otherwise
* For all other comparisons: Returns `false`
If the inputs are not of the same type, the block will attempt to coerce the second input (`B`) to the type of the first input (`A`).
## FAQ
> [accordion] What happens if the inputs are not of the same type?
>
> If the inputs are not of the same type, the block will attempt to coerce the second input (`B`) to the type of the first input (`A`). If the coercion is not possible, the comparison will be performed with the original values.
> [accordion] Can I use the Compare Block to compare arrays or objects?
>
> Yes, you can use the Compare Block to compare arrays or objects. The comparison will be performed using a deep equality check that compares all nested values.
## See Also
* [If Block](/block-reference/logic/if-else)
* [Match Block](/block-reference/logic/match)
* [Code Block](/block-reference/advanced/code)
# Delay Block
Source: https://docs.odella.ai/block-reference/logic/delay
Introduce a timed delay in the execution of your workflow

## Overview
The Delay Block introduces a specified pause in the execution of your workflow. It accepts any number of inputs and, after the set delay, passes these input values to the outputs without modification. This block is particularly useful for controlling the timing and pacing of your workflow execution.
## Inputs
**Delay (ms)** `number`
The delay time in milliseconds. This input is only available if the "Use Delay Input" setting is enabled.
**Input \[i]** `any`
The ith input that will be passed to the corresponding output. The number of inputs is dynamic based on the connections made to the block.
## Outputs
**Output \[i]** `any`
The ith output from the execution of the delay block. Each output corresponds to its respective input and is returned after the specified delay. The number of outputs matches the number of inputs minus 1.
## Editor Settings
**Delay (ms)** `number` (default: 0)
The delay time in milliseconds. This value is used if the "Use Delay Input" setting is disabled.
**Use Delay Input** `boolean` (default: false)
If enabled, adds a "Delay (ms)" input port that can override the delay time specified in settings.
## Example: Delaying a Message
1. Add a Text block to your flow and set its value to "Hello, World!".
2. Add a Delay block and set its "Delay" setting to 5000 (5 seconds).
3. Connect the output of the Text block to the first input of the Delay block.
4. Run the flow. You'll notice that the output of the Delay block appears after a 5-second pause.
## Error Handling
The Delay block is designed to handle inputs robustly and doesn't generate errors under normal circumstances. If a negative delay time is provided, it will be treated as zero, resulting in immediate execution.
## FAQ
> [accordion] What happens if I set the delay time to zero?
>
> If the delay time is set to zero, the Delay block will pass the input to the output immediately, effectively acting as a pass-through block.
> [accordion] Can I use the Delay block to throttle API calls?
>
> Yes, the Delay block can be used to throttle API calls. For instance, if you have a workflow that makes frequent API calls, you can use the Delay block to ensure that calls are not made more often than a specified interval.
## See Also
* [Passthrough Block](./passthrough)
* [Race Inputs Block](./race-inputs)
# If/Else Block
Source: https://docs.odella.ai/block-reference/logic/if-else
Choose between two different values based on a condition

## Overview
The If/Else Block is a control flow block that allows you to choose between two different values based on a condition. It evaluates a condition and outputs either a "true" value or a "false" value depending on the result.
## Inputs
**If** `any`
If this is truthy, the `true` value will be passed through the output port. Otherwise, the `false` value will be passed through the output port. An unconnected port is considered false. A `Not Ran` value is considered false. Required.
**True** `any`
The value to pass through the output port if the condition is truthy.
**False** `any`
The value to pass through the output port if the condition is not truthy.
## Outputs
**Output** `any`
The `true` or `false` value, depending on the `if` condition.
## Editor Settings
**Don't run unconnected ports** `boolean` (default: true)
If enabled, unconnected input ports are control-flow-excluded. If disabled (legacy behavior), unconnected ports will pass through undefined values.
## Example: Choose between two values based on a condition
1. Create a Bool Block and set its value to `true`.
2. Create two Text Blocks with values `Hello` and `World`.
3. Create an If/Else Block. Connect the Bool Block to `If`, `Hello` to `True`, and `World` to `False`.
4. Run the flow. The output should be `Hello`.
5. Change the Bool Block to `false` and run again. The output should now be `World`.
## Error Handling
The If/Else block will not throw an error under normal circumstances. If both the true and false values are unconnected or control-flow-excluded, the output will be control-flow-excluded.
## FAQ
> [accordion] What is considered truthy in Odella?
>
> The following values are considered truthy:
>
> * Boolean `true`
> * Any non-zero number
> * Any non-empty string
> * Any non-empty Array
> * Any object with a truthy value
> * Any function
>
> The following are considered falsy:
>
> * Boolean `false`
> * Zero
> * Empty string
> * Empty array
> * null/undefined
> * The string value `"false"`
> * `Not Ran` values
> [accordion] What happens if the `If` input is `Not Ran`?
>
> If the `If` input is `Not Ran`, the `False` value will be passed through instead. If the `False` value is not connected and "Don't run unconnected ports" is enabled, then the result will be control-flow-excluded.
> [accordion] Can I use the If/Else Block to choose between two different types of values?
>
> Yes, you can use the If/Else Block to choose between two different types of values. For example, you can use it to choose between a string and a number based on a condition. The output type will match whichever value (true or false) is passed through.
## See Also
* [If Block](/block-reference/logic/if-else)
* [Match Block](/block-reference/logic/match)
* [Coalesce Block](/block-reference/logic/coalesce)
* [Control Flow](/workflow/control-flow)
# Match Block
Source: https://docs.odella.ai/block-reference/logic/match
Route control flow based on string matching against regular expressions

## Overview
The Match Block is used to route control flow based on matching a string input against a series of regular expressions. Each regular expression corresponds to an output of the block. This block is particularly useful for directing workflow based on the content of a string, such as checking for specific keywords in a user's message.
## Key Features
* Match string input against multiple regular expressions
* Option to run either the first matching output or all matching outputs
* Fallback 'Unmatched' output for when no match is found
* Flexible value passing through matched outputs
## Inputs
**Test** `string` *required*
The value that will be tested against each of the cases. Non-string inputs will be coerced to strings.
**Value** `any`
The value passed through to the output port that matches. If unconnected, the test value will be passed through.
## Outputs
**Case \[i]** `any`
The value (or test if value is unconnected) passed through if the test value matches the corresponding regex case. The number of these outputs is dynamic based on the number of configured cases. Each output is labeled with its corresponding regex pattern, or "Case N" if the pattern is empty.
**Unmatched** `any`
The value (or test if value is unconnected) passed through if no regexes match. Will not run if any match is found.
## Editor Settings
**Exclusive** `boolean` (default: false)
If enabled, only the first matching branch will be ran. If disabled, all matching cases will run.
**Cases** `string[]`
The list of regular expressions to match against. Each case corresponds to an output port.
## Example: Route control flow based on AI input
1. Create a Chat Block with a prompt asking about preference for cats or dogs.
2. Connect the Chat Block's `Message` output to a Match Block's `Test` input.
3. Set up the Match Block with regex cases for "cats" and "dogs".
4. Create three pairs of If Blocks and Text Blocks for different outcomes.
5. Connect the Match Block's outputs to the corresponding If Blocks.
6. Run the flow to see the routing based on the AI's response.
## Error Handling
The Match Block will error if the `Test` input is not provided. If no match is found, the `Unmatched` output will be executed.
## FAQ
> [accordion] Can multiple cases match at once?
>
> Yes, multiple cases can match simultaneously. All corresponding output ports will be executed unless the 'Exclusive' setting is enabled.
> [accordion] Can I use the Match Block with numbers or lists?
>
> Yes, but inputs will be coerced into strings for matching. For lists, each string is typically placed on its own line for testing.
## See Also
* [If Block](/block-reference/logic/if-else)
* [If/Else Block](/block-reference/logic/if-else)
* [Loops guide](/workflow/loops)
* [Coalesce Block](/block-reference/logic/coalesce)
* [Control Flow](/workflow/control-flow)
# Passthrough Block
Source: https://docs.odella.ai/block-reference/logic/passthrough
Pass input values through without modification

## Overview
The Passthrough Block is a simple utility that passes input values to outputs without any modifications. It's useful for scenarios where you need to route values through specific paths in your flow without altering them, such as grouping values from different branches or controlling wire flow.
## Key Features
* Dynamically creates input and output ports based on connections
* Passes values through without modification
* Hidden by default in the block menu
* Useful for organizing complex flows
## Inputs
**Input \[i]** `any`
The ith input to be passed through. The number of inputs is dynamic based on the connections made to the block. Each input port is labeled as "Input 1", "Input 2", etc.
## Outputs
**Output \[i]** `any`
The ith output from the passthrough. Each output corresponds to its respective input, passing through the exact same value. The number of outputs is always one less than the number of inputs.
## Editor Settings
**Hidden** `boolean` (default: true)
Whether the block is hidden in the block menu. This block is hidden by default since it's primarily used internally.
**Width** `number` (default: 175)
The width of the block in pixels.
## Example: Grouping Values
1. Create multiple branches in your flow that produce different values.
2. Add a Passthrough Block at the point where you want to group these values.
3. Connect the outputs from different branches to the Passthrough Block's inputs.
4. The Passthrough Block will now group these values without modifying them.
## Error Handling
The Passthrough Block does not perform any error handling. It simply passes through whatever values it receives on its inputs to the corresponding outputs. If an input is control-flow-excluded, the corresponding output will also be control-flow-excluded.
## Technical Details
* The block dynamically creates input ports based on the highest numbered connected input port plus one
* The number of output ports is always one less than the number of input ports
* Input ports are named "input1", "input2", etc.
* Output ports are named "output1", "output2", etc.
* The block belongs to the "Logic" group in the block menu
## FAQ
> [accordion] What happens if an input is missing or null?
>
> If an input is missing or null, the corresponding output will also be missing or null. The Passthrough Block does not modify or validate inputs in any way.
> [accordion] Can the Passthrough Block be used to delay execution?
>
> No, the Passthrough Block does not introduce any delay. For timed delays, consider using the Delay Block instead.
> [accordion] Why is this block hidden by default?
>
> The Passthrough Block is primarily used internally for organizing flows and is hidden by default to avoid cluttering the block menu. However, it can still be used by directly creating it in your flow.
## See Also
* [If Block](/block-reference/logic/if-else)
* [Match Block](/block-reference/logic/match)
* [Coalesce Block](/block-reference/logic/coalesce)
* [Race Inputs Block](/block-reference/logic/race-inputs)
# Race Inputs Block
Source: https://docs.odella.ai/block-reference/logic/race-inputs
Handle multiple inputs and output the value of the first input to finish

## Overview
The Race Inputs Block is used to handle multiple inputs and output the value of the first input to finish, force-cancelling the other inputs. This block is particularly useful when you have multiple operations that can potentially fulfill the same requirement, and you want to use the result of the operation that finishes first.
## Key Features
* Dynamically creates input ports based on connections
* Outputs the first completed input value
* Cancels remaining inputs after first completion
* Hidden by default in the block menu
* Belongs to the Logic group
## Inputs
**Input \[i]** `any`
The ith input to be raced. The number of inputs is dynamic based on the connections made to the block. Each input port is labeled as "Input 1", "Input 2", etc.
## Outputs
**Result** `any`
The value of the first input to finish. If no inputs finish or all inputs are control-flow-excluded, this output will be control-flow-excluded.
## Editor Settings
**Hidden** `boolean` (default: true)
Whether the block is hidden in the block menu. This block is hidden by default.
**Width** `number` (default: 300)
The width of the block in pixels.
## Example: Race two Chats
1. Create a new flow and add two Chat Blocks.
2. Add a Prompt Block with a quick-to-answer prompt like "What is your favorite color?" Connect it to the first Chat Block's `Prompt` input.
3. Add another Prompt Block with a longer prompt like "Describe in detail the story of Hamlet." Connect it to the second Chat Block's `Prompt` input.
4. Connect both Chat Block outputs to a Race Inputs block.
5. Run the flow. The first Chat will finish quickly, and the Race Inputs block will output its response. The second Chat Block gets canceled.
## Error Handling
The Race Inputs Block will not error if none of the inputs finish. Instead, the `Result` output will be control-flow-excluded. If all inputs are control-flow-excluded, the output will also be control-flow-excluded.
## Technical Details
* Input ports are dynamically created based on the highest numbered connected input port plus one
* Input ports are named "input1", "input2", etc.
* The output port is named "result"
## FAQ
> [accordion] What happens if none of the inputs finish?
>
> If none of the inputs finish, the Race Inputs Block will not error. The `Result` output will be control-flow-excluded.
> [accordion] Can I use the Race Inputs Block with inputs of different data types?
>
> Yes, the Race Inputs Block can handle inputs of any data type.
> [accordion] What happens if one of the inputs errors?
>
> If one of the inputs errors, the Race Inputs Block will not be affected. It will still output the value of the first input to finish, regardless of whether other inputs error.
## See Also
* [HTTP Call Block](/block-reference/advanced/http-call)
* [If Block](/block-reference/logic/if-else)
* [Match Block](/block-reference/logic/match)
* [Coalesce Block](/block-reference/logic/coalesce)
# Route
Source: https://docs.odella.ai/block-reference/logic/route
Routes messages to different outputs based on LLM evaluation of multiple conditions.
## Route
Routes messages to different outputs based on LLM evaluation of multiple conditions.
Each option has a prompt that describes when messages should be routed to that output.
The LLM will evaluate the messages against each option's criteria and route accordingly.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `route` |
| Display name | Route |
| Group | Logic |
# Switch Block
Source: https://docs.odella.ai/block-reference/logic/switch
Route control flow based on a boolean condition

## Overview
The Switch Block is a control flow block that routes the input value to different outputs based on a boolean condition. It evaluates the condition and directs the value to either the True or False output port accordingly.
## Key Features
* Routes values based on a condition
* Control flow excluded values for unmatched paths
## Inputs
**Condition** `any`
If this is truthy, the value will be passed through the True port. Otherwise, it will be passed through the False port. An unconnected port is considered false.
**Value** `any`
The value to pass through the True or False port. If unconnected, it will be undefined.
## Outputs
**True** `any`
The `value` passed through if the condition is truthy. Control-flow-excluded if condition is falsy.
**False** `any`
The `value` passed through if the condition is falsy. Control-flow-excluded if condition is truthy.
## Editor Settings
**Don't run unconnected value** `boolean` (default: true)
If enabled, unconnected value input is control-flow-excluded. If disabled (legacy behavior), unconnected value will pass through undefined.
**Width** `number` (default: 150)
The width of the block in pixels.
## Example: Route a message based on a condition
1. Create a Bool Block and set its value to `true`.
2. Create a Text Block with the value "Hello, World!".
3. Create a Switch Block. Connect the Bool Block to `Condition` and the Text Block to `Value`.
4. Add two Text Blocks to display the output, one connected to True and one to False.
5. Run the flow. The "Hello, World!" message should appear in the Text Block connected to True.
6. Change the Bool Block to `false` and run again. The message should now appear in the Text Block connected to False.
## Error Handling
The Switch block will not throw an error under normal circumstances. The following values are considered falsy:
* Boolean `false`
* Empty string
* Empty array
* Control-flow-excluded values
* Undefined/unconnected inputs
* Empty chat messages
## FAQ
> [accordion] What happens if the Value input is not provided?
>
> If "Don't run unconnected value" is enabled (default), the value will be control-flow-excluded. If disabled, undefined will be passed through.
> [accordion] Can I use complex conditions with the Switch block?
>
> The Switch block accepts any input type for the condition and coerces it to a boolean. For complex conditions, you may want to evaluate them before the Switch block.
## See Also
* [If/Else Block](/block-reference/logic/if-else)
* [Match Block](/block-reference/logic/match)
* [Bool Block](/block-reference/data/boolean)
# Chunk Block
Source: https://docs.odella.ai/block-reference/modifiers/chunk
Split a string into an array of strings based on token count

## Overview
The Chunk Block is used to split a string into an array of strings based on a token count. This is particularly useful for handling large text inputs that exceed token limits in Language Models (LLMs), or for truncating strings to specific token counts.
## Inputs
**input** `string` *required*
The string to be split into chunks. Non-string inputs will be coerced to strings.
**model** `string`
The AI model to use for tokenization. Only available when "Use Model Input" is enabled in settings.
## Outputs
**chunks** `string[]`
An array containing all the chunks after splitting the input string.
**first** `string`
The first chunk from the chunks array. Useful for truncating text from the start.
**last** `string`
The last chunk from the chunks array. Useful for truncating text from the end.
**indexes** `number[]`
A list of sequential numbers starting from 1, one for each chunk. Useful for filtering or zipping with the chunks array.
**count** `number`
The total number of chunks created.
## Editor Settings
**AI Model** `string` (default: gpt-3.5-turbo)
The model to use for tokenizing the text. Different models may tokenize text differently. Can be overridden by the "model" input if "Use Model Input" is enabled.
**Use Model Input** `boolean` (default: false)
When enabled, adds a "model" input port that can override the "AI Model" setting.
**Number of tokens per chunk** `number` (default: 1024)
The target number of tokens for each chunk. The actual chunk sizes may vary slightly to maintain text coherence.
**Overlap (in %)** `number` (default: 0)
The percentage of overlap between consecutive chunks. For example, with a 50% overlap and 1000 tokens per chunk, each chunk will share approximately 500 tokens with the next chunk. This helps maintain context between chunks.
## Example: Chunking a Long Text
1. Create a Text Block with a long piece of text.
2. Add a Chunk Block and connect the Text Block to its input.
3. Configure the desired token count and overlap in the settings.
4. Run the flow. The text will be split into chunks based on your settings.
## Error Handling
The Chunk Block will automatically coerce non-string inputs into strings. No other notable error handling behavior.
## FAQ
> [accordion] Why use chunking for LLMs?
>
> Chunking is useful to avoid hitting token count limits in LLMs. You can split a long string into multiple chunks, process each chunk separately, and then combine the results.
> [accordion] How does the overlap feature work?
>
> The overlap percentage determines how much text is shared between consecutive chunks. For example, with 1000 tokens per chunk and 50% overlap, each chunk will share approximately 500 tokens with the next chunk. This helps maintain context and coherence between chunks.
## See Also
* [Batching](/workflow/batching)
* [Chat Block](/block-reference/ai/ai)
* [Text Block](/block-reference/data/text)
# Convert File
Source: https://docs.odella.ai/block-reference/modifiers/convert-file
Converts a file between PDF and DOCX formats.
## Convert File
Converts a file between PDF and DOCX formats.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `convertFile` |
| Display name | Convert File |
| Group | Files, Modifiers |
# Convert Format
Source: https://docs.odella.ai/block-reference/modifiers/convert-format
Converts data to a text format.
## Convert Format
Converts data to a text format.
* **JSON** — converts the input to a JSON string
* **YAML** — converts the input to a YAML string
## Block metadata
| Field | Value |
| - | - |
| Block ID | `convertFormat` |
| Display name | Convert Format |
| Group | Modifiers |
# Destructure
Source: https://docs.odella.ai/block-reference/modifiers/destructure
Destructures the input value by extracting values at the specified paths. The paths use JSONPath notation to navigate through the value.
## Destructure
Destructures the input value by extracting values at the specified paths. The paths use JSONPath notation to navigate through the value.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `destructure` |
| Display name | Destructure |
| Group | Objects |
# Extract from Text
Source: https://docs.odella.ai/block-reference/modifiers/extract-from-text
Extracts structured data from text. Supports multiple formats:
## Extract from Text
Extracts structured data from text. Supports multiple formats:
* **JSON** — finds and parses the first JSON object or array
* **YAML** — finds and parses YAML by a root property name
* **Code Blocks** — extracts fenced code blocks from markdown
* **Tables** — extracts tables from markdown
* **Pattern** — extracts text using a regular expression
## Block metadata
| Field | Value |
| - | - |
| Block ID | `extractFromText` |
| Display name | Extract from Text |
| Group | Modifiers |
# Filter Block
Source: https://docs.odella.ai/block-reference/modifiers/filter
Filter an array based on boolean conditions

## Overview
The Filter Block allows you to filter an array based on a corresponding array of boolean values. It takes an array of any data type and an array of boolean values of the same length, then outputs a new array containing only the elements where the corresponding boolean value is `true`.
This block is particularly useful for filtering arrays based on specific conditions, especially when combined with other blocks like [Compare](/block-reference/logic/compare) in a batched operation.
## Inputs
**array** `any[]` *required*
The array to be filtered. Non-array inputs will be coerced into an array.
**include** `boolean[]` *required*
An array of boolean values indicating whether to include each element in the array. The length of this array should match the length of the array input.
## Outputs
**filtered** `any[]`
The filtered array, containing only the elements where the corresponding boolean value in the include input was `true`. The output maintains the data type of the input array.
## Example: Filter numbers greater than 3
1. Create an Array Block with values `[1, 2, 3, 4, 5]`.
2. Add a Compare Block, set comparison to `>`, and enable batching.
3. Create a Number Block with value `3`.
4. Connect the Array Block to Compare Block's `A` input, and Number Block to `B` input.
5. Add a Filter Block, connect Array Block to `array` input and Compare Block's `Result` to `include` input.
6. Run the flow. The Filter Block's `filtered` output should be `[4, 5]`.
## Error Handling
The Filter Block will error if:
* The `array` or `include` inputs are not provided
* The lengths of the input arrays do not match
## FAQ
> [accordion] What happens if the lengths of the array and include inputs do not match?
>
> The Filter Block will error. The lengths of the array and include inputs should always match.
> [accordion] Can I use the Filter Block to filter an array of objects?
>
> Yes, you can use the Filter Block to filter an array of any data type, including objects. Just make sure to provide an array of boolean values indicating whether to include each object in the filtered array.
## See Also
* [Array Block](/block-reference/data/array)
* [Compare Block](/block-reference/logic/compare)
* [Number Block](/block-reference/data/number)
* [Get Value Block](/block-reference/modifiers/get-value)
* [Evaluate Block](/block-reference/advanced/code)
* [Coalesce Block](/block-reference/logic/coalesce)
* [Join Block](/block-reference/modifiers/join)
# Flatten Block
Source: https://docs.odella.ai/block-reference/modifiers/flatten
Flatten nested arrays into a single-level array

## Overview
The Flatten Block is designed to simplify complex nested array structures by flattening them into a single-level array. This block is particularly useful when dealing with multi-dimensional arrays or when you need to process all elements of a nested structure in a linear fashion.
## Key Features
* Flattens nested arrays one level deep
* Preserves the order of elements from the original nested structure
* Handles arrays containing both nested arrays and non-array elements
## Inputs
**input** `any[][]` *required*
The nested array structure to be flattened. Must be a nested array (array of arrays). Non-nested arrays or other types will result in an error.
## Outputs
**output** `any[]`
The resulting flattened array containing all elements from the input, with one level of nesting removed.
## Example: Flattening a Nested Array
1. Create an Array Block with a nested array structure, e.g., `[[1, 2], [3, 4], [5, 6]]`.
2. Add a Flatten Block and connect the Array Block to its `input`.
3. Run the flow. The Flatten Block's `output` will be `[1, 2, 3, 4, 5, 6]`.
## Error Handling
* If no input is provided, the block will error with "Input is required"
* If the input is not a nested array (array of arrays), the block will error with "Input is not a nested array"
* The block will only flatten one level deep - for deeper nesting, multiple Flatten blocks can be chained
## FAQ
> [accordion] Does the Flatten Block work with objects?
>
> No, the Flatten Block is designed to work only with nested arrays. It will error if given objects or other non-array inputs.
> [accordion] How deep does the flattening go?
>
> The Flatten Block only flattens one level deep. For example, `[[1, [2, 3]], [4, 5]]` becomes `[1, [2, 3], 4, 5]`. To flatten deeper levels, chain multiple Flatten blocks together.
## See Also
* [Array Block](/block-reference/data/array)
* [Map Block](/block-reference/modifiers/flatten)
* [Filter Block](/block-reference/modifiers/filter)
# Get Value
Source: https://docs.odella.ai/block-reference/modifiers/get-value
Gets a value from an object using a path expression.
## Get Value
Gets a value from an object using a path expression.
Use JSONPath notation to navigate through the object, for example:
* `$.name` — get the "name" field
* `$.items[0]` — get the first item
* `$.users[*].email` — get all user emails
## Block metadata
| Field | Value |
| - | - |
| Block ID | `getValue` |
| Display name | Get Value |
| Group | Modifiers |
# Hash Block
Source: https://docs.odella.ai/block-reference/modifiers/hash
Calculate MD5 or SHA hash of input data for equivalency comparisons

## Overview
The Hash Block calculates the MD5 or SHA hash of incoming data. This block is particularly useful for performing equivalency comparisons, data integrity checks, or generating unique identifiers based on content.
## Key Features
* Support for multiple hash algorithms (MD5, SHA-1, SHA-256, SHA-512)
* Converts input to string before hashing
* Outputs hash value as a string
## Inputs
**input** `string` *required*
The data to be hashed. Required. Non-string inputs will be coerced to strings.
## Outputs
**hash** `string`
The calculated hash value of the input data.
## Editor Settings
**algorithm** `string` (default: sha256)
The hash algorithm to use. Options:
* `md5`: MD5 algorithm
* `sha1`: SHA-1 algorithm
* `sha256`: SHA-256 algorithm
* `sha512`: SHA-512 algorithm
## Example: Generating a Hash for Data Comparison
1. Create a Text Block with some sample data, e.g., "Hello, World!".
2. Add a Hash Block and connect the Text Block's output to its `input`.
3. Configure the Hash Block to use SHA-256 algorithm.
4. Run the flow to see the generated hash value.
## Error Handling
* If the input is undefined or null, the block will error
* Invalid algorithm selections will result in an error
## FAQ
> [accordion] Which hash algorithm should I use?
>
> The choice of algorithm depends on your specific use case. MD5 is faster but less secure, while SHA-256 and SHA-512 provide stronger security but are slightly slower. For most general purposes, SHA-256 is a good balance of security and performance.
> [accordion] How are non-string inputs handled?
>
> All inputs are coerced to strings before hashing. Numbers, objects, and arrays will be converted to their string representations automatically.
## See Also
* [Compare Block](/block-reference/logic/compare)
* [Encrypt Block](/block-reference/modifiers/hash)
* [Decrypt Block](/block-reference/modifiers/hash)
# Index Block
Source: https://docs.odella.ai/block-reference/modifiers/index
Retrieve values from an array at specified indices

## Overview
The Index Block allows you to retrieve values from an array at specified indices. It can return a single value when given a single index or multiple values when provided with an array of indices. This block is particularly useful for extracting specific elements from arrays or for reordering array elements based on a set of indices.
## Key Features
* Retrieve a single value at a specified index
* Extract multiple values using an array of indices
* Supports negative indices for accessing elements from the end of the array
* Option to invert the selection to get all values except those at specified indices
## Inputs
**array** `any[]` *required*
The input array from which to retrieve values.
**indicies** `number | number[]` *required*
The index or array of indices to retrieve. Can be a single number or an array of numbers.
## Outputs
**output** `any | any[]`
The value(s) retrieved from the input array at the specified index/indices. If a single index is provided or only one value is selected, this will be a single value. If multiple indices are provided, this will be an array of values. If no values are selected, this output will be control-flow-excluded.
## Editor Settings
**invert** `boolean` (default: false)
When enabled, inverts the selection to return all values except those at the specified indices.
## Example: Extracting Specific Elements from an Array
1. Create an Array Block with values `[10, 20, 30, 40, 50]`.
2. Add an Index Block and connect the Array Block to its `array` input.
3. Create a Number Block with value `2` (or an Array Block with values `[0, 2, 4]`) and connect it to the Index Block's `indicies` input.
4. Run the flow. The Index Block's `output` will be `30` (or `[10, 30, 50]` if using an array of indices).
## Error Handling
* If an index is out of range (less than 0 or greater than array length), the block will throw an error
* If the array input is not an array, the block will throw an error
* If no values are selected, the output will be control-flow-excluded
## FAQ
> [accordion] Can I use negative indices?
>
> Yes, negative indices are supported. They count from the end of the array, so -1 refers to the last element, -2 to the second-to-last, and so on.
> [accordion] What happens if I provide duplicate indices?
>
> If you provide an array of indices with duplicates, the block will return the corresponding values, including duplicates. For example, with input array `[10, 20, 30]` and indices `[0, 1, 1]`, the output will be `[10, 20, 20]`.
> [accordion] How does the invert option work?
>
> When invert is enabled, the block will return all values from the array except those at the specified indices. For example, with input array `[10, 20, 30, 40, 50]` and indices `[1, 3]`, the output with invert enabled would be `[10, 30, 50]`.
## See Also
* [Array Block](/block-reference/data/array)
* [Filter Block](/block-reference/modifiers/filter)
* [Map Block](/block-reference/modifiers/flatten)
# Join Block
Source: https://docs.odella.ai/block-reference/modifiers/join
Concatenate an array of strings into a single string using a specified delimiter

## Overview
The Join Block concatenates an array of strings into a single string using a specified delimiter. It's useful for formatting lists of items or joining lines of text. The block supports special characters as delimiters and can flatten input arrays before joining.
## Key Features
* Concatenates multiple strings or array elements into a single string
* Supports custom delimiters, including special characters like newline and tab
* Can flatten nested arrays before joining
* Coerces non-string inputs into strings
## Inputs
**input1** `string | any[]`
The first string or array to be joined. Additional numbered inputs (input2, input3, etc.) are created dynamically based on connections.
**joinString** `string`
The delimiter used to join the inputs. Only available when "Use Join String Input" is enabled.
## Outputs
**output** `string`
The resulting joined string.
## Editor Settings
**flatten** `boolean` (default: true)
When enabled, flattens any array inputs before joining them.
**joinString** `string` (default: \n)
The string used as a delimiter to join the inputs. Supports escape characters like \n (newline), \t (tab).
**useJoinStringInput** `boolean` (default: false)
When enabled, allows the join string to be provided via an input port instead of being set in the settings.
## Example: Join an array of strings with a newline
1. Create an Array Block with values `["apple", "banana", "cherry"]`.
2. Add a Join Block and set the Join String to `\n` in the settings.
3. Connect the Array Block to the Join Block's `input1`.
4. Run the flow. The output should be:
```
apple
banana
cherry
```
## Error Handling
The Join Block generally doesn't error. If an input is not provided, it outputs an empty string.
## FAQ
> [accordion] Can I use special characters as the Join String?
>
> Yes, you can use special characters like newline (`\n`), tab (`\t`), and space (` `) as the Join String. Enter them literally in the Join String field in the settings.
> [accordion] Can I join an array of non-string values?
>
> Yes, you can join an array of any data type. The values will be coerced into strings before joining.
> [accordion] Can I use a dynamic Join String?
>
> Yes, enable the "Use Join String Input" setting to create a new input port for the Join String.
## See Also
* [Split Text Block](/block-reference/modifiers/chunk)
* [Array Block](/block-reference/data/array)
* [Text Block](/block-reference/data/text)
* [Code Block](/block-reference/advanced/code)
# Merge PDFs
Source: https://docs.odella.ai/block-reference/modifiers/merge-pdf
Merges multiple PDF files into a single PDF document.
## Merge PDFs
Merges multiple PDF files into a single PDF document.
The files will be merged in the order they are provided.
Supports up to 10 input ports, each accepting either a single file or an array of files.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `mergePDF` |
| Display name | Merge PDFs |
| Group | Modifiers |
# Pop Block
Source: https://docs.odella.ai/block-reference/modifiers/pop
Remove and return the first or last element from an array

## Overview
The Pop Block removes either the first or last element from an array and outputs both the removed element and the remaining array. By default, it pops the last element. This block is useful for processing array elements one by one in a loop.
## Key Features
* Removes and returns the first or last element of an array
* Outputs both the popped element and the remaining array
* Configurable to pop from the front or back of the array
* Useful for iterative array processing
## Inputs
**array** `any[]` *required*
The array to pop from. Required. Non-array inputs will not be coerced.
## Outputs
**lastItem** `any`
The popped element. Will be labeled as "First" if popping from front, "Last" if popping from back.
**restOfArray** `any[]`
The remaining elements of the array after popping.
## Editor Settings
**fromFront** `boolean` (default: false)
If enabled, the first element of the array will be popped instead of the last.
## Example: Pop the last element from an array
1. Create an Array Block with values `["John", "Doe", "30", "Engineer"]`.
2. Add a Pop Block and connect the Array Block to its `array` input.
3. Run the flow. The `Last` output should be `"Engineer"` and the `Rest` output should be `["John", "Doe", "30"]`.
## Example: Pop the first element from an array
1. Create an Array Block with values `["John", "Doe", "30", "Engineer"]`.
2. Add a Pop Block, enable the `Pop from front` setting, and connect the Array Block to its `array` input.
3. Run the flow. The `First` output should be `"John"` and the `Rest` output should be `["Doe", "30", "Engineer"]`.
## Error Handling
The Pop Block will error if:
* The `array` input is not provided
* The input is not an array
* The input array is empty
## FAQ
> [accordion] Can I pop multiple elements from an array at once?
>
> No, the Pop Block can only pop one element at a time. To remove multiple elements, use multiple Pop Blocks in sequence.
> [accordion] Can I use the Pop Block to pop elements from a string?
>
> No, the Pop Block only works with arrays. For string manipulation, consider using a Code Block with custom JavaScript.
> [accordion] What if the array is empty?
>
> The Pop Block will error if the array is empty. Use an If Block to check if the array is empty before popping from it.
## See Also
* [Array Block](/block-reference/data/array)
* [Slice Block](/block-reference/modifiers/slice)
* [Code Block](/block-reference/advanced/code)
* [Loops guide](/workflow/loops)
# Shuffle Block
Source: https://docs.odella.ai/block-reference/modifiers/shuffle
Randomize the order of elements in an array

## Overview
The Shuffle Block randomizes the order of elements in an array. It's like shuffling a deck of cards - you give it a list of items, and it mixes them up into a random order. This is useful when you want to randomize a playlist, create random selections, or add variety to any ordered list.
## Key Features
* Randomly reorders any list of items
* Creates a new shuffled list (keeps your original list unchanged)
* Works with any type of items (numbers, text, objects, etc.)
* Automatically handles single items by treating them as a one-item list
## Inputs
**array** `any[]` *required*
The list of items you want to shuffle. If you input a single item instead of a list, it will be treated as a one-item list.
## Outputs
**shuffled** `any[]`
A new list containing all your input items in a random order.
## Example: Shuffle a List of Numbers
1. Create an Array Block with numbers `[1, 2, 3, 4, 5]`
2. Add a Shuffle Block and connect the Array Block to its `array` input
3. Run the flow. The Shuffle Block's `shuffled` output will contain the same numbers in a random order, like `[3, 1, 5, 2, 4]`
## Error Handling
* If nothing is connected to the input, the block will output an empty list
* If you input a single item instead of a list, it will work fine - it just treats it as a one-item list
## FAQ
> [accordion] Can I shuffle a list of anything, not just numbers?
>
> Yes! You can shuffle lists of any type of items - text, numbers, objects, or even mixed content.
> [accordion] Does shuffling change my original list?
>
> No, your original list stays exactly the same. The Shuffle Block creates a new list with the items in a random order.
> [accordion] How random is the shuffle?
>
> The shuffle is random enough for most everyday purposes (like shuffling songs or cards), but shouldn't be used for security or gambling purposes where you need true randomness.
## See Also
* [Array Block](/block-reference/data/array)
* [Filter Block](/block-reference/modifiers/filter)
* [Join Block](/block-reference/modifiers/join)
* [Code Block](/block-reference/advanced/code)
* [RNG Block](/block-reference/modifiers/shuffle)
# Slice Block
Source: https://docs.odella.ai/block-reference/modifiers/slice
Extract a portion of an array based on specified start index and count

## Overview
The Slice Block extracts a portion of an array. It takes an array as input and outputs a new array that starts at a specified index and contains a specified number of elements. This block is useful for manipulating arrays, such as extracting a subset of data from a larger dataset.
## Key Features
* Extract a subset of elements from an array
* Configurable start index and count
* Option to provide start and count values via input ports
* Handles empty/undefined inputs gracefully
## Inputs
**input** `any[]` *required*
The array to be sliced.
**start** `number`
The index at which to start the slice. Only available when "Use Start Input" is enabled.
**count** `number`
The number of elements to include in the slice. Only available when "Use Count Input" is enabled.
## Outputs
**output** `any[]`
The sliced array containing the extracted elements from the input array.
## Editor Settings
**start** `number` (default: 0)
The index at which to start the slice. If not provided, defaults to 0.
**count** `number`
The number of elements to include in the slice. If not provided, includes all elements from start to end.
**useStartInput** `boolean` (default: false)
When enabled, allows the start index to be provided via an input port instead of being set in the settings.
**useCountInput** `boolean` (default: false)
When enabled, allows the count to be provided via an input port instead of being set in the settings.
## Example: Slice an array
1. Create an Array Block with values `[1, 2, 3, 4, 5]`.
2. Add a Slice Block and set the `Start` to `2` and the `Count` to `2`.
3. Connect the Array Block to the Slice Block's `input`.
4. Run the flow. The Slice Block's `output` should be `[3, 4]`.
## Error Handling
* The block will error if the `input` is not provided or is not an array
* If start or count inputs are enabled but not connected, the block will use the default values
* Using a negative count will result in an error
## FAQ
> [accordion] What happens if the Start is greater than the length of the array?
>
> The Slice Block will return an empty array.
> [accordion] What happens if the Count is greater than the number of elements in the array?
>
> The Slice Block will return all elements from the Start to the end of the array.
> [accordion] Can I use negative numbers for the Start and Count?
>
> You can use negative numbers for the Start to count from the end of the array. However, using a negative number for the Count will result in an error.
## See Also
* [Array Block](/block-reference/data/array)
* [Get Value Block](/block-reference/modifiers/get-value)
* [Code Block](/block-reference/advanced/code)
* [Split Text Block](/block-reference/modifiers/chunk)
* [Join Block](/block-reference/modifiers/join)
# Schedule
Source: https://docs.odella.ai/block-reference/triggers/trigger-schedule
Run workflow on a schedule using cron expressions. Configure the cron expression and timezone to schedule when the workflow should execute.
## Schedule
Run workflow on a schedule using cron expressions. Configure the cron expression and timezone to schedule when the workflow should execute.
## Block metadata
| Field | Value |
| - | - |
| Block ID | `trigger:schedule` |
| Display name | Schedule |
| Group | Triggers |
# Oneleet security 2026 10 31
Source: https://docs.odella.ai/docs/oneleet-security-2026-10-31
# Oneleet dependency remediation — October 31, 2026
Generated lockfiles cover the currently published patches without blanket
latest-version updates. Source changes do not close monitored-main alerts until
approved integration/provider refresh (and artifact rebuild where relevant).
fast-uri >=3.1.9, QS >=6.16.1, Undici 7 >=7.30.1 and follow-redirects >=1.16.2. The Undici 7 advisory surfaced during this remediation pass; it is included rather than left for a later scanner refresh.
## Validation
All three generated-lock/override regression tests passed. Full Mintlify build was not run.
## Remaining gates
Develop and main have divergent ancestry. This branch deliberately preserves develop; no force reset, unrelated doc merge or default-branch change was performed. Approved main integration must retain the newer documentation commits. Existing React peer warnings remain visible, not hidden.
# Create and configure stores
Source: https://docs.odella.ai/documents/create-and-configure
Create a Document Store, define AI-extracted metadata, choose an ingestion model, and connect sync sources.
Creating a Document Store turns a collection of files into a structured, searchable knowledge vault. The setup flow is designed to help you decide what the store is for, where documents come from, what AI should extract, and how the store should be processed.
> [!NOTE]
>
> This guide describes standard Document Stores for knowledge and extraction.
> Create protected signing-record stores through [E-signing
> setup](/templates/05_e-signing); they do not accept ordinary uploads or sync
> imports.
## When to create a new store
Create a separate store when the documents share a clear business purpose, audience, or governance boundary.
Good examples include:
* A contract library
* A policy and procedure vault
* A matter or project document set
* An invoice and purchase order store
* An HR records store
* A board papers or meeting minutes store
Avoid creating one large catch-all vault for unrelated material. Smaller, focused stores are easier to search, connect to workers, and govern.
## Step 1: General settings
Start by giving the store a clear identity.
| Field | What it does |
| - | - |
| **Name** | The store name shown in the library, breadcrumbs, and selection menus. |
| **Description** | Explains what belongs in the store and how the store should be used. |
Good descriptions help teammates and AI Employees understand whether the store is relevant to a task.
## Step 2: Sync sources
You can connect cloud folders during setup or skip this step and upload files manually later.
Supported sync sources include:
* **Google Drive**
* **OneDrive**
When you connect a folder, configure:
| Setting | What it does |
| - | - |
| **Connection Name** | Human-readable name for the synced folder. |
| **Description** | Optional context about what the folder contains. |
| **Include subfolders** | Imports files from nested folders as well as the selected folder. |
| **Sync existing files** | Imports current files immediately. New files continue to sync automatically. |
Use sync sources for folders that should stay current over time. Use manual upload for one-off batches or ad hoc files.
## Step 3: Metadata columns
Columns define the structured metadata AI should extract from every document. These columns appear in the document table and can be searched, filtered, sorted, reviewed, and exported.
Use columns for business fields you actually care about, such as:
* Contract value
* Effective date
* Renewal terms
* Vendor
* Policy owner
* Deadline
* Parties
* Matter number
* Key decisions
* Action items
### Built-in templates
You can start from a document type template or build a custom schema.
Templates include:
* Invoices & Bills
* Employment Contracts
* Contracts & Agreements
* Receipts & Expenses
* Real Estate
* HR Documents
* Policies & Procedures
* Medical Records
* Legal & Court Filings
* Meeting Notes
* Project Documents
* Tax Documents
* Bank Statements
* Purchase Orders
* Training & Certs
* Insurance
* Custom
### Column design tips
* Keep columns focused on information you will use.
* Prefer clear business names, such as **Renewal Terms** or **Approved By**.
* Add useful descriptions so AI knows exactly what to extract.
* Avoid duplicating system fields like file name, document ID, status, MIME type, or timestamps.
* Start smaller if unsure. You can add columns later and choose whether to process existing files.
> [!NOTE]
>
> When changing columns later, choose **New files only**, **Fill existing files
> too**, or **Rename labels only**. Only the reprocessing option re-runs
> extraction on existing documents and is billed per page. See [Store
> settings](/documents/settings-and-integrations#change-metadata-columns).
## Step 4: AI model
Choose the model used to extract metadata from documents.
The model affects extraction quality, speed, and cost. Faster models generally cost less. Stronger models can improve extraction quality for complex or messy documents.
The model selector shows the resolved model and estimated cost per 1,000 pages where available.
## Step 5: Review and create
Before creating the store, review:
* Store name and description
* Connected sync sources
* Metadata columns
* AI model selection
Once created, the store opens to its document table, where you can upload files, review processing status, search content, and manage documents.
## Best practices
* Create stores around clear domains or business processes.
* Use descriptions to tell people what belongs in the store.
* Connect cloud folders only when the source should stay synced.
* Design metadata columns around decisions, reporting, and retrieval.
* Choose stronger extraction models for documents with complex structure or high accuracy requirements.
* Reprocess schemas deliberately because it can consume credits.
# Manage documents
Source: https://docs.odella.ai/documents/manage-documents
Upload, search, preview, export, download, and delete documents in a Document Store.
## Work With Documents in a Vault
Each Document Store opens to a document table. The table combines the original files, processing status, and AI-extracted metadata columns you configured for the store.
This is where you upload new files, monitor processing, search across content, review extracted fields, preview documents, and export or download results.
> [!NOTE]
>
> These upload, search, reprocessing, and deletion instructions apply to
> standard stores. [Signing-record
> stores](/documents/settings-and-integrations#signing-record-stores) hold
> protected signed copies and evidence, with no manual upload, sync, AI
> indexing, or deletion.
## Adding Documents
You can add documents in three ways:
> [card] Upload manually
>
> Click **Add Documents** and choose files from your computer.
> [card] Drag and drop
>
> Drop supported files directly into the document table.
> [card] Sync folders
>
> Import documents automatically from connected Google Drive or OneDrive
> folders.
Supported upload types include common document, Office, spreadsheet, presentation, text, CSV, HTML, Markdown, RTF, and EPUB files. The current manual uploader accepts supported files up to **50MB** each. Follow the limit displayed by your account if it differs.
When files are uploaded, they are queued and processed. The table shows processing states while metadata extraction runs.
## Document Table
The document table is the main working surface for a store.
| Feature | What it does |
| - | - |
| **AI-extracted columns** | Shows metadata fields defined by the store schema. |
| **Search** | Uses hybrid search across metadata and document content. |
| **Filter** | Filters rows by available columns. |
| **Sort** | Sorts rows by selected columns. |
| **Refresh** | Reloads the latest document state. |
| **Pagination** | Displays documents in pages, with row counts in the footer. |
| **Row selection** | Selects one or more documents for bulk actions. |
## Search and Retrieval
Document search uses hybrid retrieval across document text and metadata. This means you can search for exact business fields, document names, and semantic concepts from the file content.
Examples:
* “leases expiring next quarter”
* “Acme vendor invoices”
* “documents mentioning termination for convenience”
* “policies owned by security”
* “meeting notes with budget action items”
If no results match, clear the search to return to the full table.
## Previewing Documents
Click a document to open it in a document preview. The table remains available, and open previews appear as closable tabs.
| File type | Behaviour |
| - | - |
| **PDF** | Opens in the built-in PDF viewer with download and print controls. |
| **DOCX** | Opens in the built-in document viewer. |
| **Other supported files** | Shows a download prompt if browser preview is unavailable. |
| **Text-only synced files** | Shows that the original file is not stored if the sync strategy did not retain it. |
Preview tabs are useful when you need to check the source document while comparing extracted metadata in the table.
## Bulk Actions
Select one or more rows to take action on documents.
| Action | What it does |
| - | - |
| **Export** | Downloads selected metadata as a CSV. |
| **Download** | Downloads selected original files in bulk. |
| **Delete** | Removes selected documents from the store. |
> [!WARNING]
>
> Deleting documents removes them from the store. Export metadata or download
> files before deleting anything you need to preserve.
## Processing Status
Uploaded and synced files are processed before their metadata is fully available. While processing, documents may show queued or in-progress states. For a failed document, inspect the reported error and correct the source or provider connection. Use the available reprocessing action where permitted. Before re-uploading or re-syncing, check whether the original document is already present to avoid duplicate records.
## Best Practices
* Upload related documents into focused stores instead of mixing unrelated material.
* Check processing status after large uploads or sync imports.
* Use search for semantic discovery and filters for structured review.
* Export CSV metadata when you need reporting or spreadsheet analysis.
* Preview source files when reviewing important AI-extracted fields.
* Delete carefully; use bulk actions only after confirming the selected rows.
# Overview
Source: https://docs.odella.ai/documents/overview
Understand Document Stores: searchable knowledge vaults for files, metadata, workflows, and AI Employees.
## Turn Documents Into Searchable Knowledge
Document Stores are searchable knowledge vaults for your organization. Upload or sync files, extract structured metadata with AI, search across content and columns, and make trusted source material available to workflows and AI Employees.
> [card] Searchable Knowledge Vaults
>
> Store document collections as governed knowledge bases with table views,
> metadata, and search.
> [card] AI-Extracted Metadata
>
> Define columns such as dates, parties, values, owners, deadlines, or
> summaries and let AI fill them from each document.
> [card] Cloud Folder Sync
>
> Connect Google Drive or OneDrive folders so documents can be imported and
> kept up to date.
> [card] Workforce Ready
>
> Add stores to AI Employees as Knowledge capabilities so they can retrieve
> the right context during work.
## Signing requests and records
Documents also includes [Signing requests](/documents/signing-records). Track prepared and sent requests there; completed PDFs and evidence are filed in protected signing stores. These stores do not support ordinary uploads, sync, AI indexing, or deletion. See [E-signing](/templates/05_e-signing) to prepare templates and invitations.
## What Document Stores Are For
Use a Document Store when you want a governed collection of files to become searchable, structured, and useful to automation.
Common use cases include:
* Contract and agreement libraries
* Invoices, purchase orders, and receipts
* Policies, procedures, and compliance records
* Legal filings and matter documents
* HR records and employment documents
* Project documentation and status reports
* Training, insurance, medical, tax, and financial records
## Store Library
The Document Stores home page has two views:
| View | What it contains |
| - | - |
| **My Vaults** | Account stores visible to you, subject to their access rules and store type. Standard stores can be connected as worker knowledge. |
| **Public Stores** | Shared public datasets or resources that can be browsed when available. |
You can search stores by name, subtitle, or description, and create a new private vault from the library.
## How Document Stores Work
**1. Create and configure the vault**
Name the store, optionally connect sync sources, define metadata columns,
and choose the AI model used for extraction.
**2. Add documents**
Upload files manually, drag and drop into the table, or import documents
from connected Google Drive or OneDrive folders.
**3. Review extracted metadata**
AI fills the columns you defined. Use the table to sort, filter, search,
export, and review processing status.
**4. Connect to workers and workflows**
Add stores to AI Employees as Knowledge capabilities or use them in
workflows for retrieval, review, drafting, and comparison.
## Learn More
> [card] [Create and configure stores](/documents/create-and-configure)
>
> Set up a vault, define metadata columns, choose an AI model, and connect
> sync sources.
> [card] [Manage documents](/documents/manage-documents)
>
> Upload files, search the table, preview documents, export metadata, and
> perform bulk actions.
> [card] [Settings and integrations](/documents/settings-and-integrations)
>
> Manage schema changes, sync connections, AI model settings, deletion,
> workforce access, and workflow integration.
Use Document Stores for reusable, governed source material. Use a worker's
Workspace for temporary files, drafts, and task-specific uploads.
# Settings and integrations
Source: https://docs.odella.ai/documents/settings-and-integrations
Manage Document Store columns, extraction, sync sources, access, storage information, and protected signing records.
Open a Document Store's **Settings** to maintain its configuration. The available tabs depend on the store type and your permissions.
## Settings areas
| Tab | Purpose |
| - | - |
| **General** | Name, subtitle, and description; signing-store lifecycle controls where applicable. |
| **Columns** | Metadata fields extracted from documents in a standard store. |
| **AI Model** | Model used for metadata extraction. |
| **Sync Sources** | Connected Google Drive or OneDrive folders. |
| **Access** | Resource sharing in an organization account. |
| **Storage** | Explains the store's purpose and record restrictions. |
| **Delete** | Permanent deletion for eligible standard stores. |
Signing-record stores expose **General**, **Access**, and **Storage**, not the normal ingestion, extraction, or deletion tabs.
## General settings
Use a specific name, subtitle, and description so people and AI Employees understand what belongs in the store. Editing a description does not replace reviewing the files themselves.
## Change metadata columns
In **Columns**, update the fields and their extraction descriptions. When saving changed columns, choose how existing documents should be handled:
| Choice | Effect |
| - | - |
| **New files only** | Apply the columns to documents uploaded after saving. Existing files remain as they are. |
| **Fill existing files too** | Re-run extraction on existing documents for added or changed columns. Billed per page. |
| **Rename labels only** | Change column names without reprocessing documents. |
For example, add **Renewal owner** with **New files only** if you only need it for future uploads. Choose **Fill existing files too** if your existing contract library also needs that information, and review the processing estimate before confirming.
> [!WARNING]
>
> Reprocessing can consume credits and take time on large stores. Renaming a
> label is not the same as asking AI to extract a different business value.
## Sync sources
Connect a **Google Drive** or **OneDrive** folder for ongoing imports. Configure:
* **Connection Name** and **Description** to identify the source.
* **Include subfolders** if nested folders belong in this store.
* **Sync existing files** to import files already in the selected folder.
After creating a connection, you can pause, resume, or delete it. Check the correct provider account and folder before enabling a source. A connection does not grant every worker access to its contents.
If imports stop, check the provider connection, folder permissions, and document processing status before reconnecting or retrying. Use manual upload for one-off files instead of an ongoing folder connection.
## AI model
Choose a model appropriate for the complexity and sensitivity of your documents. The selector may show the resolved model and estimated cost per 1,000 pages. Review extracted values against source documents before relying on them.
## Access
In an organization account, use **Access** to review and change who can use the store. You need the appropriate resource-management permission to change sharing. Worker assignment and your organization's access rules remain separate controls.
For signing stores, access changes affect **past records as well as future records**. Review the audience before sharing sensitive executed documents. See [Roles and permissions](/platform/roles-and-permissions).
## Storage and store types
**Storage** explains what the store holds and which operations are permitted. It does not configure automatic retention or deletion.
| Standard Document Store | Signing-record store |
| - | - |
| Documents and extracted metadata for search and retrieval. | Signed PDFs, completion certificates, audit trails, and signing evidence. |
| Upload, sync, metadata editing, reprocessing, and deletion are subject to permissions and document protections. | No manual uploads, sync imports, AI indexing, editing, replacement, reprocessing, or deletion of protected records. |
| Ordinary document lifecycle. | Archive/restore lifecycle for accepting new signing requests. |
Some synced files may contain extracted text without a retained original. Their preview indicates when the original is not stored.
## Signing-record stores

Signing-record storage information, shown with Storybook example data.
Create or select a signing store while configuring [E-signing](/templates/05_e-signing). The store type is fixed when created.
* **Archive** stops new signing requests from using the store.
* Requests already sent can still be completed, and existing records remain available.
* **Restore** allows new requests again.
* Archiving is not deletion, and the Storage page does not set a disposal date.
Record disposal, where required, needs a separate approved process. Do not use ordinary Document Store deletion instructions for signing records.
## Delete a standard store
Use **Delete** only for an eligible standard store. Review its documents, connected workers, workflows, and sync sources first. Export metadata and download files you must preserve.
> [!WARNING]
>
> Deleting a standard store permanently removes its documents, metadata, and
> search data. Protected signing stores do not offer this operation.
## Use stores with your workforce
Assign a store as [Knowledge](/workforce/knowledge) only to workers that need it. Workflows can search and analyze stores as part of approved processes.
Use [Workspace](/workforce/workspace) for task files and drafts; use a standard Document Store for reusable source material; use a signing store for protected completed signing records.
# Signing requests and records
Source: https://docs.odella.ai/documents/signing-records
Find signing requests, review completion states, and manage access to protected signed documents.
# Follow documents through signing
Use **Documents → Signing requests** to follow prepared signing requests, outstanding signatures, and completed records you are authorized to view.
To configure the source template and send a request, see [E-signing](/templates/05_e-signing). Generating or downloading a draft does not itself invite recipients.
## Review request status
Open a request to inspect its document, recipients, and reported progress. Use the available filters to distinguish drafts, waiting requests, completed requests, and declined requests.
* **Draft:** Prepared but not yet sent; review and one-time send approval are still required.
* **Waiting:** Check which recipients have opened or completed their part.
* **Declined:** Review the reported outcome with the sender; do not treat it as completed signing.
* **Completed:** Check that the final copy and evidence are available.
A recipient finishing their part does not mean everyone has signed. Final sealing can also take time after the last signing step; wait for the reported final state rather than relying on a progress count alone.
## Find completed records
Completed copies are filed in the signing store chosen by the published template. Open that store with the appropriate permissions to inspect available signed PDFs, completion certificates, audit trails, and evidence. Download the available completed copy when you need to retain or use it outside Odella.
Treat these records as sensitive: they can contain verified recipient email addresses, signatures, consent, and timestamps.
## Protected records are not knowledge-store uploads
A signing-record store does not support normal file uploads, cloud-folder imports, AI indexing, metadata reprocessing, replacement, or deletion of protected records. Do not use ordinary knowledge-store bulk actions to manage signing evidence.
Use **Settings → Storage** to review restrictions and **Settings → Access** in organization accounts to review the audience.
## Archive or restore a store
Where authorized, use the signing store's General settings lifecycle controls:
* Archive to stop new signing requests from using it.
* Allow already-sent requests to finish; their resulting records remain available.
* Restore to accept new requests again.
Archiving does not erase records or set an automatic retention/disposal date. Access changes apply to historical records too.
> [!WARNING]
>
> Review the full audience before sharing a signing store. Changing permissions
> can expose already-completed documents, not only future requests.
## Troubleshooting
* **Request not visible:** Check the account, filters, and your resource access.
* **Recipient cannot sign:** Use the latest invitation and the account with the invited email address. Check the reported expiry or decline state.
* **Final copy not ready:** Distinguish waiting for other recipients from sealing the completed document.
* **New request cannot use the store:** Check whether it is archived, ready, and available to the worker/request owner.
* **Uncertain send or charge:** Inspect the existing request before retrying. See [send-time billing](/platform/billing-and-credits#e-signing).
For the standard-store lifecycle, see [Document Store settings](/documents/settings-and-integrations).
# Frequently Asked Questions
Source: https://docs.odella.ai/get-started/faq
Answers to common questions about Odella, AI Employees, workflows, templates, integrations, and security.
# Frequently asked questions
> [accordion] What is Odella?
>
> Odella is a platform for building and managing an AI workforce. Teams use Odella to hire, onboard, and manage AI Employees that complete routine work across tools, documents, workflows, and internal knowledge.
>
> Odella is organized around the way teams work:
>
> * **Workforce**: create and manage AI Employees
> * **Tasks**: assign work, follow progress, and review results
> * **Workflows**: define repeatable processes
> * **Templates**: generate consistent documents
> * **Documents**: store knowledge and reference material
> * **Integrations**: connect workplace tools
> [accordion] What is an AI Employee?
>
> An AI Employee is a workplace-ready worker with a defined role, responsibilities, tools, knowledge, and work history. It can be assigned tasks, connected to workflows, and managed by your team.
>
> A good AI Employee is not a vague chatbot. It should have a clear job, clear boundaries, and a clear review process.
> [accordion] How should I choose my first use case?
>
> Start with a task that is repeatable, easy to describe, and easy for a human to review.
>
> Strong first use cases include document intake, recurring reports, template drafting, file checks, research summaries, and administrative routing. Avoid starting with high-risk decisions or unclear processes.
> [accordion] Do I need coding experience?
>
> No. Odella is built for teams that want to describe work in business terms. You can create workers, connect templates, upload documents, and build workflows visually.
>
> Technical teams can still use advanced workflow blocks and integrations where needed, but coding is not required for most operational use cases.
> [accordion] What are workflows used for?
>
> Workflows define the repeatable steps behind a task. They help workers read information, transform data, make structured decisions, draft outputs, and hand work back to your team for review.
>
> Examples include:
>
> * Collecting and validating intake information
> * Reviewing documents for missing details
> * Preparing a report from multiple sources
> * Populating a template from structured data
> * Routing work to the right person or worker
> [accordion] What are templates used for?
>
> Templates help teams produce consistent documents quickly. You can turn
> existing PDF or DOCX precedents into reusable templates, then populate them
> with information collected from workflows, documents, or user input.
> [accordion] What are document stores?
>
> Document stores are places to keep files, research, policies, examples, and
> other reference material. Workers can use this knowledge when completing
> tasks, depending on the permissions and configuration you choose.
> [accordion] What tools can Odella connect to?
>
> Odella is designed to connect with the tools your team already uses, including document storage, communication tools, business systems, databases, and APIs.
>
> See [Integrations](/integrations/overview) for setup guidance.
> [accordion] Is my data secure?
>
> Odella uses layered controls for identity, customer separation, worker execution, integrations, model access, credentials, monitoring, and human approval. Customers are responsible for configuring user access, worker capabilities, connected services, and review requirements appropriately.
>
> See [Security and data protection](/platform/security), the [Trust Center](https://www.odella.ai/legal/trust), [Data Processing Addendum](https://www.odella.ai/legal/dpa), and [Privacy Policy](https://www.odella.ai/legal/privacy).
> [accordion] Can humans review work before it is used?
>
> Yes. Odella is designed for human-managed work. You can build review steps into workflows, inspect outputs, and improve worker instructions over time.
>
> For business-critical tasks, we recommend keeping a human review step in the workflow.
> [accordion] How do I know whether a task is finished?
>
> Open [Tasks](/workforce/tasks) and inspect its details. Queued, running,
> waiting, and blocked work is not completed. A completed task still needs
> review of its answer and returned files.
> [accordion] Can I connect Claude Code, Codex, or Cursor?
>
> Yes. Create a personal access token under **Account → Developer** and follow
> the [MCP server guide](/integrations/mcp-server). Token scopes limit access
> and cannot override your live Odella permissions.
> [accordion] Can workers send documents for signature?
>
> Workers can prepare signing requests from configured templates. You review the
> request and approve sending; each invited person provides their own signature.
> See [E-signing](/templates/05_e-signing).
> [accordion] Why is work blocked when I still have credits?
>
> Check [account limits](/platform/usage-and-limits), capability eligibility, a
> hard monthly spend limit, worker availability, and permissions. Funding,
> capacity, and authorization are separate controls.
> [accordion] Where do I manage teams and access?
>
> Use **Account → Organization** for members, teams, and roles. Use the worker's
> [Governance](/workforce/governance) panel or a store's Access settings for
> resource-specific sharing.
> [accordion] How do I get support?
>
> Contact Odella at [support@odella.ai](mailto:support@odella.ai). You can also join the Odella community from the docs navigation.
# Quickstart Guide
Source: https://docs.odella.ai/get-started/quickstart
Set up Odella, understand the workspace, and create your first useful AI Employee.
# Quickstart
This guide takes you from a new account to your first practical Odella setup. The goal is not to automate everything at once. Start with one worker, one responsibility, and one repeatable task your team already understands.
## 1. Create your account
**1. Sign in with your work account**
Use Google, Microsoft, or email to create your Odella account.
**2. Verify your email**
Confirm your email address so your workspace can be created securely.
**3. Complete your workspace details**
Add basic information about your organization so Odella can tailor the
workspace to your team.
## 2. Understand the workspace
After signing in, open **Workforce** to create and manage the workers that make up your AI workforce. Confirm the active personal or organization account before configuring shared resources.
> [card] [Workforce](/workforce/overview)
>
> Create, hire, and manage AI Employees with clear roles, responsibilities,
> tools, and work history.
> [card] [Workflows](/workflow/overview)
>
> Build reusable processes that workers can run when completing assigned
> tasks.
> [card] [Templates](/templates/01_overview)
>
> Turn recurring documents into reusable PDF or DOCX templates.
> [card] [Documents](/documents/overview)
>
> Store files, research, and private knowledge that workers can reference.
Before inviting colleagues or enabling paid work, review [Organization and teams](/platform/organization), [Roles and permissions](/platform/roles-and-permissions), and [Billing and credits](/platform/billing-and-credits).
## 3. Choose your first use case
Pick a process that is clear, repeatable, and easy to review. Good first use cases usually have a known input, a known output, and a person who can check the result.
> [accordion] Good first use cases
>
> * Preparing a recurring report from source documents - Summarising intake
> information into a structured format - Drafting a document from an approved
> template - Checking a file for missing information - Routing a request to
> the correct person or workflow
> [accordion] Use cases to save for later
>
> * Processes with unclear ownership - Work with no review criteria -
> High-risk decisions without human approval - One-off tasks that do not
> repeat often
## 4. Create or hire a worker
In Odella, workers are most useful when they have a narrow role and clear responsibilities.
**1. Open Workforce**
Go to **Workforce** and choose **Add Worker**.
**2. Define the role**
Give the worker a plain-language role such as “Intake Assistant”, “Report
Reviewer”, or “Finance Admin Worker”.
**3. Add responsibilities**
Describe what the worker should do, what it should avoid, and when a human
should review the output.
**4. Connect capabilities**
Attach the workflows, templates, documents, and tools the worker needs to
complete the task.
> [!TIP]
>
> A strong first worker has one job. You can always expand its responsibilities
> after your team trusts the workflow.
## 5. Connect the work system
A useful worker usually needs three things:
> [card] Knowledge
>
> The policies, files, examples, and business context it should use.
> [card] Workflow
>
> The repeatable process it should follow from input to output.
> [card] Review
>
> The human checkpoint that confirms the work is correct before it matters.
## 6. Run, review, and improve
Once the worker is configured, open [Tasks](/workforce/tasks), select **New task**, choose the worker, and describe a low-risk outcome with clear source material. Follow its progress, answer questions, and resolve [Approvals](/workforce/approvals) through the displayed controls.
Inspect the actual answer and files before using them. Update the worker's instructions and improve the process until the output is consistent. To delegate through email or workplace messaging, follow the [channel setup guides](/workforce/communication-channels).
> [!NOTE]
>
> Odella works best when treated like onboarding a new teammate: start with
> context, assign a narrow responsibility, review early work, then increase
> trust over time.
## Next steps
> [card] [Workforce overview](/workforce/overview)
>
> Learn how workers are managed across roles, capabilities, working hours, and
> work history.
> [card] [Workflow overview](/workflow/overview)
>
> Learn how to build and maintain the workflows your workers use.
> [card] [Template overview](/templates/01_overview)
>
> Learn how templates help your team create consistent documents quickly.
> [card] [Security](/platform/security)
>
> Review the controls that help keep your workspace governed and secure.
# Custom integrations
Source: https://docs.odella.ai/integrations/custom-integrations
Connect an account-owned remote MCP server, review its tools, configure authentication, and assign it safely to AI Employees.
Custom integrations let an organization connect a remote **Model Context Protocol (MCP)** server that is not already available in Odella's integration catalog. Odella discovers the server's tools and makes the approved integration available for assignment to workers.
> [!WARNING]
>
> A custom MCP server is an external service selected by your organization. Only connect a server whose operator, security practices, data handling, and tools your organization has reviewed and approved.
## Requirements
| Requirement | Details |
| - | - |
| **Administrator access** | Only account administrators can test, create, refresh, enable, disable, or delete custom integrations. |
| **Transport** | The server must provide a streamable HTTP MCP endpoint. |
| **URL** | Production endpoints must be publicly reachable and use HTTPS on the standard HTTPS port. The URL cannot contain embedded credentials, query parameters, or fragments. Private, local, and internal network destinations are not supported. |
| **Tool catalog** | The server must return a valid MCP tool catalog within Odella's safety limits. |
| **Authentication** | Supported options are no authentication, an API key, or compatible OAuth 2.1 authorization. |
A typical endpoint looks like:
```text theme={"system"}
https://mcp.example.com/mcp
```
Do not put an API key in the URL. Enter it in the authentication field instead.
## Add a custom integration
**1. Open Integrations**
Go to **Integrations** and select **Custom Integration**. The button is available only to account administrators.
**2. Name the integration**
Enter a name that identifies the service and its purpose. This name appears when administrators and workers browse connected tools.
**3. Enter the MCP server URL**
Provide the full HTTPS streamable HTTP endpoint. Do not enter a website home page unless it is also the MCP endpoint.
**4. Test the connection**
Select **Test**. Odella checks the endpoint, detects the supported authentication method, and validates the tool catalog before the integration can be created.
**5. Complete authentication**
If the server uses an API key, enter the key and retest. If Odella detects OAuth 2.1, continue to the provider's authorization flow.
**6. Review discovered tools**
Confirm that every exposed tool is expected and appropriate for your organization. Do not continue if the server exposes unexpected write, send, administrative, or destructive capabilities.
**7. Create the integration**
Select **Create integration**. A validated test can be used for up to 10 minutes and only by the administrator and account that started it. If it expires or the configuration changes, test the server again.
## Authentication options
> [tab] No authentication
>
> Use this only for an approved endpoint that intentionally accepts requests without credentials. Public reachability does not mean a server is safe or appropriate to connect.
> [tab] API key
>
> Odella supports these header formats:
>
> * `Authorization: Bearer `
> * `X-API-Key: `
>
> Enter the key in Odella. Never include it in the endpoint URL, integration name, logo URL, or worker instructions. If you change the key or header format during setup, retest before creating the integration.
> [tab] OAuth 2.1
>
> When compatible OAuth 2.1 metadata is detected, Odella creates the integration in an authorization state and opens the provider's consent flow. Review the provider, requested access, and selected account before authorizing.
## Optional logo
Odella attempts to discover a suitable logo from the endpoint. If none is available, you can provide a direct HTTPS URL to a PNG, JPEG, GIF, or WebP image.
The logo is presentation metadata only. It does not establish the identity or trustworthiness of the server.
## Assign the integration to a worker
Creating a custom integration does **not** grant every worker access.
1. Open the intended worker.
2. Open **Tools** in the skill tree.
3. Find the custom integration and assign it.
4. Review the worker's [Tool approval policy](/workforce/settings-security-privacy#tool-approval-policy).
5. Test each required tool with non-sensitive data before production use.
Custom integration access is account-scoped and worker assignment is enforced separately. A worker without an explicit assignment cannot use that custom integration.
## Security behavior
Odella applies a conservative trust model to custom MCP tools:
* The remote server and its returned content are treated as untrusted external input.
* A successful connection test validates protocol compatibility and catalog safety; it does not certify the server or its operator.
* Custom tools are handled conservatively for approval purposes, including tools that the server describes as read-only.
* Worker-level allow and block rules still apply.
* API keys and OAuth credentials are stored as protected integration credentials and used by the platform rather than disclosed to the worker.
* Requests are subject to platform safety, availability, and resource controls.
* Setup, refresh, enablement, and deletion activity is recorded for operational and security review.
> [!NOTE]
>
> Information sent to a custom tool is disclosed to the external MCP server. The server operator's terms, privacy notice, retention, hosting locations, and subprocessors may apply to that information.
## Current limits
| Limit | Maximum |
| - | - |
| Custom integrations per account | 20 |
| Discovered tools per custom integration | 100 |
Catalogs, requests, and concurrent operations are also subject to platform safety and availability controls. Contact Odella if your approved use case requires a different supported configuration.
## Manage a custom integration
Select the settings button beside a custom integration to open its management view.
| Action | What it does |
| - | - |
| **Inspect Tool catalog** | Shows the tools currently available in Odella, including their names and descriptions. |
| **Refresh** | Retests the authenticated server and updates the catalog when tools have changed. |
| **Authorize / Reconnect** | Completes OAuth authorization or reconnects an expired connection. |
| **Disable** | Prevents use without deleting the integration configuration. |
| **Enable** | Makes a valid, connected integration available again. |
| **Delete integration** | Disconnects the integration and removes it from workers using it. This cannot be undone. |
A failed catalog refresh does not replace the last successfully validated catalog. The integration may be marked unavailable or require reconnection until an administrator resolves the failure.
## Connection states
| State | Meaning | Administrator action |
| - | - | - |
| **Ready** | Connected and available for assignment and use. | No action required. |
| **Authorizing** | OAuth authorization has not been completed. | Select **Authorize**. |
| **Reconnect required** | Authorization is missing, expired, or no longer valid. | Select **Reconnect** and complete consent. |
| **Disabled** | An administrator has turned the integration off. | Enable it when approved for use. |
| **Unavailable** | The endpoint, authentication, or catalog could not be validated. | Check the server and refresh or reconnect. |
| **Blocked** | Odella's safety controls prevent the integration from being enabled. | Review the endpoint and contact support if needed. |
## Troubleshooting
> [accordion] Use a public HTTPS URL
>
> Confirm that the endpoint is publicly reachable, begins with `https://`, uses the standard HTTPS port, and does not contain a username, password, query string, or fragment. Localhost, private-address, internal-network, and metadata-service destinations are rejected.
> [accordion] Connection test timed out
>
> Confirm that the remote service is available and responds promptly to MCP initialization and tool discovery. Then retest.
> [accordion] API key required
>
> Enter the key, choose **Authorization: Bearer** or **X-API-Key**, and retest. Confirm the server expects the selected header format.
> [accordion] OAuth authorization is incomplete
>
> Open the integration settings and select **Authorize** or **Reconnect**. Complete the provider consent flow using the intended account.
> [accordion] No tools were found
>
> Confirm that the URL is the MCP endpoint and that the server supports MCP tool discovery. Odella cannot create a non-OAuth integration with an empty tool catalog.
> [accordion] Invalid or unsupported tool catalog
>
> Review the remote server's tool names and schemas. The server must return a valid catalog within platform safety limits.
> [accordion] Tools changed on the server
>
> Open the integration settings and select **Refresh**. Review the updated tool list and retest the worker's approval rules.
## Review checklist
Before approving production use, record:
* The service owner and business purpose
* The MCP server operator and endpoint
* Authentication method and credential owner
* Data categories that may be sent to the server
* Hosting region, retention, subprocessors, and deletion terms
* Expected tools and permitted operations
* Workers allowed to use the integration
* Tool approval and human review requirements
* Revocation and incident-response contacts
For questions about an Odella control, contact [support@odella.ai](mailto:support@odella.ai). Questions about the external server should be directed to its operator.
# MCP work recipes
Source: https://docs.odella.ai/integrations/mcp-recipes
Use the Odella MCP server to configure workers, assign work, upload source files, and publish private skills safely.
# Work with Odella from your MCP client
First [connect your client](/integrations/mcp-server) and create a token with only the scopes needed for the task. These recipes describe the public user-authorized server, not internal worker connections.
Your live Odella permissions still apply. Tool availability depends on the token, and some read operations in write-tool families also require the family's write scope.
## Scope checklist
Every token includes `odella:read`. Add:
| Recipe | Additional scopes |
| - | - |
| Change worker instructions or resource assignments | `odella:employees:write` |
| Assign toolkits | `odella:employees:write` and `odella:integrations:write` |
| Add or remove workflow assignments | `odella:employees:write` and `odella:workflows:write` |
| Create/cancel a task | `odella:tasks:write` |
| Upload files for a task | `odella:knowledge:write` or `odella:skills:write`, in addition to task access |
| Create or update templates and render published templates | `odella:knowledge:write` |
| Create and explicitly publish a private skill | `odella:skills:write` |
| Assign the resulting skill to a worker | `odella:employees:write` |
| Create, update, or delete worker Actions | `odella:employees:write` and `odella:tasks:write` |
Use the client's current tool schemas for exact parameters and constraints. Do not assume a scope grants resource access or provider credentials.
## 1. Inspect before changing a worker
Ask the client to:
> Read my Odella context and list the workers I can access. Show the selected worker's configuration and instructions before proposing any changes.
Use `odella_get_context`, `employees_list`, `employees_get_configuration`, and `employees_get_instructions`. Keep the stable employee ID returned by Odella; do not derive it from a display name.
For instruction changes:
1. Read the current notes and revision.
2. Review the proposed replacement with the user.
3. Call `employees_update_instructions` with `notes` and the exact `expectedRevision` returned by the read.
4. Re-read to confirm the saved result.
If the revision changed, read again and reconcile the difference. Do not silently overwrite another person's edits.
## 2. Assign resources without replacing unrelated work
Prefer `employees_add_resource_assignments` or `employees_remove_resource_assignments` for targeted changes. Read available resources and the current configuration first.
* Use the correct category and resource identifiers.
* Private-skill assignments use canonical slugs.
* Toolkit assignment does not complete OAuth or grant credentials.
* Resource assignment does not grant the user or worker otherwise-missing access.
* Assignment does not automatically start the worker.
`employees_set_resource_assignments` replaces an entire category and requires the exact prior IDs. Use it only when replacement is deliberate; do not use it as a shortcut for adding one resource.
## 3. Create a task and follow the result
After reading the selected worker's ID, a `tasks_create` call can use:
```json theme={"system"}
{
"employeeId": "",
"title": "Review supplier proposals",
"goal": "Compare the approved supplier proposals and cite the source for every material finding.",
"instructions": "Return a draft only. Do not contact suppliers or approve spending.",
"expectedOutcome": "A comparison table and a short list of missing information."
}
```
Keep the returned task ID. Read it with `tasks_get`; use `tasks_list` to inspect work before creating another task after an uncertain response. Task creation is not idempotent, so blindly repeating it can create duplicate work.
`tasks_list` supports an employee filter, `includeCompleted`, and a `limit` from 1–100. List operations do not all share the same pagination parameters; follow each tool's schema.
Use `tasks_cancel` for eligible active/queued work when appropriate. Cancellation is not a rollback of completed external actions. See [Tasks](/workforce/tasks) for states and review.
## 4. Upload a file, then use its file ID
1. Ask `files_get_upload_url` for an upload reservation using the file details required by its schema.
2. Transfer the actual bytes to the returned signed PUT URL outside MCP, using the required headers.
3. Call `files_get_upload_status` with the returned file ID.
4. Pass the verified upload reference to the destination operation, such as template creation, skill creation, or task attachments, according to that tool's schema.
**Uploaded** means bytes exist; it does not mean all destination validation has passed. Template import verifies bytes before accepting them. Uploading a file does not itself create a template or skill.
> [!WARNING]
>
> Signed upload/download URLs are temporary private credentials. Do not log
> them, put them in shared prompts, or treat an upload URL as a task attachment.
> Use the returned file ID for destination operations.
## 5. Prepare and publish a template
Use `templates_create` with the uploaded file ID, not a base64 document. Read `templates_get_draft` to inspect the persisted draft and revision.
For DOCX, `templates_detect_fields` proposes placeholder labels; detection does not itself save or publish them. Review and save the intended metadata/labels using the current revision-aware schemas, then explicitly publish with `templates_publish` when ready.
PDF field positioning remains an editor review checkpoint. `templates_render` renders authorized published PDF/DOCX templates with supported typed values; it does not send an e-signing invitation. Review the output and protect any temporary artifact URL.
## 6. Publish an account-private skill
1. Upload the `SKILL.md` or supported ZIP source package.
2. Call `skills_create` with the file ID and required metadata.
3. Read `skills_get_submission` with the returned merge-request ID.
4. Inspect its status and scanner findings.
5. After explicit user review, call `skills_publish` with the fresh publication revision required by its schema.
6. Read back the result before assigning the skill separately.
Publication rechecks the exact source; blocked or incomplete scans remain unpublished. Updating an existing skill uses `skills_get` for its revision, then `skills_update`, submission review, and explicit publication. Publishing does not assign the skill, upgrade existing worker version pins, or start a worker.
The MCP submission/publication flow is distinct from the workshop UI's review-and-merge controls. See [Private skills](/workforce/create-a-skill) for writing and testing guidance.
## 7. Stage an Action disabled
Read `employees_actions_list` before changing automations. Use `employees_actions_create` with `action.enabled` explicitly set to `false` to stage work for review. Omitting that choice can preserve enabled creation behavior.
Review the trigger/schedule, timezone, work instructions, delivery destination, and permissions before enabling it with `employees_actions_update`. The worker's on/off state remains separate, and provider OAuth consent must be completed through the supported UI flow.
## Recover from an error
* **Missing tool:** Check the scope combination and refresh the client's tool list.
* **Conflict/stale revision:** Re-read, compare changes, and submit against the fresh revision.
* **Permission denied:** Review the live account role and resource access; broader token scopes alone cannot fix it.
* **Timeout or unknown outcome:** Inspect the resource/task before repeating the mutation.
* **Provider authorization required:** Complete the provider flow in Odella; never paste credentials into a prompt as a workaround.
# Odella MCP server
Source: https://docs.odella.ai/integrations/mcp-server
Connect Claude Code, Codex, Cursor, or OpenCode to Odella using a personal access token.
# Connect your tools to Odella
The Odella MCP server lets compatible assistants and developer tools work with your Odella account. Read workforce information, prepare workflows and templates, or assign tasks without leaving your preferred tool.
MCP (Model Context Protocol) is a standard for connecting these tools to services. Odella provides a remote **Streamable HTTP** endpoint:
```text theme={"system"}
https://mcp.odella.ai/mcp
```
> [!NOTE]
>
> This connects an external client **to Odella**. To connect an external MCP
> server for your AI Employees to use, see [Custom
> integrations](/integrations/custom-integrations).
## Create a personal access token
**1. Open Developer settings**
In Odella, go to **Account → Developer**, then select **Create token**.
**2. Choose access and expiry**
Give the token a recognizable name. Choose **30 days**, **90 days**, or **1
year**, and select only the scopes your client needs. **Read Odella data**
is included by default.
**3. Copy the token**
Copy it before closing the confirmation. Odella shows the token only once.
Store it securely; create a replacement if you lose it.
A token is tied to your user and account. It cannot grant more access than you currently have in Odella. Your current permissions and account policies still apply to every request, even when a token includes a write scope.

Creating a least-privilege token, shown with Storybook example data. No real credential is displayed.
## Connect a client
For the examples below, set your token in the environment where your client starts:
```bash theme={"system"}
export ODELLA_API_TOKEN=""
```
> [tab] Claude Code
>
> Add Odella to your project:
>
> ```bash theme={"system"}
> claude mcp add --scope project --transport http odella "https://mcp.odella.ai/mcp" --header "Authorization: Bearer $ODELLA_API_TOKEN"
> ```
>
> Run `claude /mcp` to check the connection.
>
> > [!WARNING]
> >
> > The shell expands the token in this command. Treat the resulting local configuration as a secret and do not commit it to version control.
> [tab] Codex
>
> Add the remote server:
>
> ```bash theme={"system"}
> codex mcp add odella --url "https://mcp.odella.ai/mcp"
> ```
>
> In `~/.codex/config.toml`, add the environment-variable setting to the Odella entry:
>
> ```toml theme={"system"}
> [mcp_servers.odella]
> url = "https://mcp.odella.ai/mcp"
> bearer_token_env_var = "ODELLA_API_TOKEN"
> ```
>
> Run `/mcp` inside Codex to verify the connection.
> [tab] Cursor
>
> Set `ODELLA_API_TOKEN` in the environment where Cursor starts, then add this to `.cursor/mcp.json`:
>
> ```json theme={"system"}
> {
> "mcpServers": {
> "odella": {
> "url": "https://mcp.odella.ai/mcp",
> "headers": {
> "Authorization": "Bearer ${env:ODELLA_API_TOKEN}"
> }
> }
> }
> }
> ```
> [tab] OpenCode
>
> Add this remote server to `opencode.json`:
>
> ```json theme={"system"}
> {
> "$schema": "https://opencode.ai/config.json",
> "mcp": {
> "odella": {
> "type": "remote",
> "url": "https://mcp.odella.ai/mcp",
> "enabled": true,
> "headers": {
> "Authorization": "Bearer {env:ODELLA_API_TOKEN}"
> }
> }
> }
> }
> ```
For other clients, choose a remote Streamable HTTP server and send `Authorization: Bearer ` with requests. Merge these examples into existing configurations rather than replacing other servers.
## Choose token scopes
| Scope | Purpose |
| - | - |
| `odella:read` | Read Odella context, AI Employees, workflows, templates, Document Stores, and tasks. |
| `odella:organization:teams:write` | Create and rename teams. |
| `odella:employees:write` | Create and configure AI Employees. |
| `odella:employees:access:write` | Restrict who can use or edit AI Employees. |
| `odella:workflows:write` | Create, edit, publish, and run workflows. |
| `odella:knowledge:write` | Manage templates, Document Stores, and documents. |
| `odella:skills:write` | Create and edit private skills. |
| `odella:tasks:write` | Assign work and manage task lifecycle. |
| `odella:integrations:write` | Configure the toolkits AI Employees can use. |
Some operations require more than one scope. The tools available to your client depend on the token's scopes; having a scope does not override your permissions on a particular resource.
## Test the connection
Start with a read-only token and ask your client to:
* “Show my Odella account context.”
* “List the AI Employees I can access.”
* “Show the published templates available in Odella.”
The client can use `odella_get_context`, `employees_list`, and `templates_list` for these checks. Review results before granting write access or asking the client to publish, delete, or change business data.
## Configure workers and assign work
See [MCP work recipes](/integrations/mcp-recipes) for revision-safe instruction updates, targeted resource assignments, task creation, private file uploads, template preparation, private-skill publication, and disabled Action staging. The guide includes required scope combinations and safe recovery from uncertain mutations.
## Revoke or replace a token
Return to **Account → Developer** to review your tokens and revoke any you no longer need. Revocation takes effect on the next request. To rotate a token, create a replacement, update your client's secret, verify the connection, then revoke the old token.
> [!WARNING]
>
> Treat personal access tokens like passwords. Never include them in prompts,
> screenshots, shared configuration, or source control. Revoke an exposed token
> immediately.
## Troubleshooting
* **Authentication fails:** Check that the token is complete, has not expired or been revoked, and is sent as a Bearer token. Confirm that your client can read its environment variable.
* **A tool is missing:** Check the token's scopes. Create a replacement with the required scopes if necessary, then refresh the client's tool list.
* **An operation is denied:** Confirm your current account membership, resource access, and account policies. A broader token cannot bypass these controls.
* **The server is unavailable:** Confirm the URL is `https://mcp.odella.ai/mcp`, not the dashboard URL. If the problem persists, contact [support@odella.ai](mailto:support@odella.ai) without including your token.
# Integrations
Source: https://docs.odella.ai/integrations/overview
Connect workplace applications to Odella and control how AI Employees use them.
# Connect workplace applications
Integrations connect Odella to the systems your team already uses. Once an application is connected, it can be assigned to specific workers or used in workflows, subject to the permissions and approval policies you configure.
## Browse integrations
Open **Integrations** from the Odella navigation. Search by application name or browse the available catalog. Each integration shows its name, purpose, and connection status.
Available applications vary by workspace and can include:
* Communication and productivity tools
* CRM and customer systems
* Document and file storage
* Finance and accounting systems
* Engineering and project-management tools
* Data, research, compliance, and business applications
## Standard and custom integrations
> [card] Catalog integrations
>
> Connect an application already available in Odella using its supported authorization flow.
> [card] [Custom integrations](/integrations/custom-integrations)
>
> Connect an account-owned remote MCP server after reviewing its endpoint, authentication, tools, and data handling.
Only account administrators can create or manage custom integrations. See [Custom integrations](/integrations/custom-integrations) for the complete setup and security guide.
## Connect external tools to Odella
To use Odella from Claude Code, Codex, Cursor, or OpenCode, connect to the [Odella MCP server](/integrations/mcp-server). Create a personal access token under **Account → Developer** and choose the access your client needs. This is separate from connecting a custom MCP server for your AI Employees to use.
## Connect a catalog application
**1. Choose the application**
Find the application in Integrations and start the connection flow.
**2. Authenticate**
Complete the supported sign-in method, such as OAuth or an API key. Review the requested permissions before approving access.
**3. Confirm the connection**
Verify that the integration shows as connected and that the intended account or workspace was selected.
**4. Assign access**
Add the integration only to the workers or workflows that require it.
**5. Test safely**
Run a read-only or low-risk test before enabling actions that send messages, change records, or delete data.
## Where integrations are used
> [card] [AI Employees](/workforce/tools)
>
> Assign applications and their tools to workers based on role and responsibility.
> [card] [Workflows](/workflow/plugins)
>
> Use connected applications as steps in repeatable business processes.
A workspace connection does not automatically give every worker access. Worker assignments, application permissions, outbound messaging rules, and tool approval policies remain separate controls.
## Governance checklist
Before using an integration in production, confirm:
* The correct organizational account is connected.
* Granted permissions are limited to what the process requires.
* Only appropriate workers can access the integration.
* Write, send, and destructive actions have suitable approval rules.
* A responsible owner knows how to revoke the connection.
* The workflow has been tested with representative data.
> [!WARNING]
>
> Treat connected applications as access to real business systems. Use the narrowest permissions that still allow the worker to complete its responsibilities.
## Disconnect or change an account
Open the integration's connection settings to disable or reconnect it. Before disconnecting, identify workers, actions, and workflows that depend on the application. Those processes may stop working until a valid connection is restored.
If an expected integration is unavailable, contact [support@odella.ai](mailto:support@odella.ai) with the application name and intended use case.
## Related documentation
> [card] [Security & Privacy](/workforce/settings-security-privacy)
>
> Configure worker-level messaging and tool approval policies.
> [card] [Platform security](/platform/security)
>
> Review the platform security model, shared responsibility, and assurance resources.
> [card] [Custom integrations](/integrations/custom-integrations)
>
> Connect and govern a remote MCP server.
# Introduction
Source: https://docs.odella.ai/introduction
Learn how Odella helps teams hire, onboard, and manage AI Employees that complete real work across your tools.

# Build your AI workforce with Odella
Odella helps teams hire, onboard, and manage **AI Employees**: workplace-ready workers that follow your processes, connect to your tools, and complete routine tasks with human oversight.
Use these docs to understand the main parts of Odella, set up your first workspace, and start building reliable work systems for your team.
## What Odella is for
Odella is designed for operational work that is important, repeatable, and often spread across documents, tools, messages, and internal knowledge.
> [card] [Hire AI Employees](/workforce/overview)
>
> Build or hire specialized workers for roles such as operations, finance,
> legal, compliance, research, and administration.
> [card] [Give them responsibilities](/workforce/employee-page)
>
> Define each worker's role, tools, knowledge, workflows, and working hours so
> they know what work to perform.
> [card] [Automate repeatable workflows](/workflow/overview)
>
> Use visual workflows to turn repeatable business processes into clear steps
> that can be run, reviewed, and improved.
> [card] [Create documents from templates](/templates/01_overview)
>
> Turn existing PDF and DOCX precedents into reusable templates that workers
> can populate with structured information.
## How the product is organized
Odella is structured around the way teams already work.
**1. Workforce**
Your home for AI Employees. Create workers, review their roles, connect
their capabilities, and monitor their work history.
**2. Tasks and approvals**
Assign work, follow progress, answer questions, and review consequential
actions before they proceed. See [Tasks](/workforce/tasks) and
[Approvals](/workforce/approvals).
**3. Workflows**
The process layer. Build reusable workflows that read information, transform
data, make decisions, draft outputs, and hand work back to your team.
**4. Templates**
The document layer. Create reusable document templates so recurring drafts,
forms, reports, and letters can be produced consistently.
**5. Documents**
The knowledge layer. Store reference material, research, files, and private
vaults that workers can use when completing tasks.
**6. Integrations**
The connection layer. Link Odella to the business tools your team already
uses so work can happen where your information lives.
## A recommended first path
If you are new to Odella, start here:
> [card] [1. Complete the quickstart](/get-started/quickstart)
>
> Set up your account, understand the dashboard, and learn the fastest path to
> your first useful worker.
> [card] [2. Review Workforce basics](/workforce/overview)
>
> Learn how workers are created, onboarded, connected to capabilities, and
> managed over time.
> [card] [3. Explore Workflows](/workflow/overview)
>
> Understand how workflows turn your team's repeatable processes into
> reliable, reviewable work systems.
> [card] [4. Set up security and integrations](/platform/security)
>
> Review the controls, model settings, and integrations that govern how work
> happens inside your organization.
## Set up account administration
Use the [Administration guides](/platform/organization) to manage members, teams, [permissions](/platform/roles-and-permissions), [credits](/platform/billing-and-credits), [limits](/platform/usage-and-limits), and [brand context](/platform/brand-guidelines).
You can also connect external clients through the [Odella MCP server](/integrations/mcp-server), or collect signatures with [template e-signing](/templates/05_e-signing).
## Human-managed by design
Odella is built to help teams increase capacity without removing human judgment. AI Employees are assigned responsibilities, but your team remains in control of what they can access, what workflows they run, and how their outputs are reviewed.
> [!NOTE]
>
> The best Odella implementations start with one clear repeatable process,
> define the expected outcome, then expand workers' responsibilities as the
> workflow proves reliable.
# Marketplace
Source: https://docs.odella.ai/marketplace/overview
Find ready-to-hire AI Employees, reusable workflows, and document templates for your workspace.
# Start from proven building blocks
The Marketplace provides ready-to-use AI Employees, workflows, and templates. Use it when a published starting point fits your business need, then review and adapt the item before relying on it for production work.
## Browse the Marketplace
Search by name or purpose, browse business categories, or filter by capability and connected application. Marketplace availability and categories can change as new items are published.
| Item type | What you receive |
| - | - |
| **AI Employee** | A ready-to-hire worker with a role and initial configuration. |
| **Workflow** | A reusable process that can be reviewed, tested, and connected to workers. |
| **Template** | A reusable document starting point for consistent drafting. |
## Hire an AI Employee
**1. Review the role**
Confirm that the worker's stated purpose and capabilities match a real responsibility in your organization.
**2. Hire the worker**
Add the worker to your workforce and open its profile.
**3. Review access**
Check assigned skills, applications, workflows, templates, knowledge, working hours, and security policies.
**4. Adapt the instructions**
Update the worker's purpose and general instructions to reflect your terminology, escalation paths, and review requirements.
**5. Test before production use**
Run representative low-risk tasks and review the results before expanding access or responsibilities.
## Use a workflow or template
Marketplace workflows and templates are starting points, not immutable packages.
* Review workflow steps, integrations, inputs, outputs, and approval points before publishing.
* Review template fields, instructions, formatting, and sample output before assigning it to workers.
* Confirm that connected applications and source material are appropriate for your organization.
## Marketplace governance
> [!WARNING]
>
> Installing an item does not replace your organization's review. Validate its configuration, permissions, and outputs before using it for sensitive or business-critical work.
Recommended review questions:
* Who published the item?
* What information and applications can it access?
* Can it send messages or modify external records?
* Where does human approval occur?
* Who owns the process after installation?
* What test confirms that the output is acceptable?
## Related documentation
> [card] [Workforce](/workforce/overview)
>
> Onboard and manage hired workers.
> [card] [Workflows](/workflow/overview)
>
> Review, test, and publish workflows.
> [card] [Templates](/templates/01_overview)
>
> Configure reusable document templates.
# Billing and credits
Source: https://docs.odella.ai/platform/billing-and-credits
Buy credits, manage payment methods, configure automatic top-up, and understand monthly spend controls.
# Fund and manage your account
Open **Account → Billing** in the account you intend to fund. Billing access is permission-controlled. A worker's hourly quote is separate from the account's credit balance and payment settings.
## Buy credits
1. Confirm the active personal or organization account.
2. Open **Billing** and choose the credit purchase action.
3. Enter an amount within the displayed purchase limits.
4. Add or select a payment method and complete any required billing details or payment verification.
5. Wait for confirmation, then check the balance and billing history before retrying a purchase.
If payment appears pending or requires action, complete that flow rather than assuming no payment occurred. Contact support if a charge and balance do not reconcile; do not share card details in a support message.
## Payment methods and automatic top-up
Under **Payment methods**, review cards on file and the default card used for purchases and automatic top-up.
Use **Automatic top-up** to replenish credits when the balance falls below your chosen threshold. Review the threshold, purchase amount, and available controls before enabling it. Keep a valid payment method on file.
A failed top-up can leave paid activity unavailable. Check payment verification, billing details, card status, and the failure message. Updating a card is not the same as confirming that a top-up succeeded.
## Monthly spend limit
A monthly spend limit manages usage spending; it is not the same as a credit-purchase amount or resource-capacity limit.
| Mode | Behavior |
| - | - |
| **Soft limit** | Warns about spend; spending can continue. |
| **Hard limit** | Pauses new paid activity when the limit is reached. Some operations check whether their projected charge would exceed the limit before starting. |
The Billing page shows your current usage against the limit. Read the **Pause new paid activity** choice when configuring the limit. Review warnings and notifications rather than treating a soft limit as a spending cap.
> [!WARNING]
>
> Automatic top-up adds funds; it does not remove a hard monthly spend limit. A
> positive balance alone does not guarantee paid activity is eligible to run.
If a hard limit is reached, an authorized person can review and adjust or remove the limit as appropriate. Check the account's updated status before retrying work. Do not assume that increasing a limit automatically replays every previously blocked task.
## Usage, invoices, and credit history
* **Billing history** shows invoices and credit grants; use the available invoice controls to view or download records.
* **Account → Usage** shows daily credit spend, categories, and ledger events.
* **Account → Limits** shows your tier and resource capacity, not just available funds.
See [Usage and limits](/platform/usage-and-limits) for troubleshooting paid activity and capacity restrictions.
## What can incur charges
Depending on the work and account terms, charges can include worker working time, model and media usage, document processing, voice, and signing sends. Review the current account pricing and displayed estimates; the worker's monthly scheduled-hours estimate is not an all-inclusive maximum bill.
### E-signing
A signing send requires active billing and sufficient funds after human approval and validation. The request is charged per envelope at send time, not once for each signer. Completion and archiving do not create another signing-send charge.
If a send times out after payment, retry the **same request** after checking its status. Creating a new draft can create a separate billable request. Do not infer a refund or a failed payment from an ambiguous send result. See [E-signing](/templates/05_e-signing).
### Voice
Voice eligibility depends on your account tier, available funds, and applicable spend controls. Browser Talk, a reserved phone number, and connected phone-channel usage are different capabilities; verify the displayed account terms before enabling them.
## Common blockers
| Symptom | Check |
| - | - |
| **Insufficient credits** | Balance, pending payments, and automatic top-up status. |
| **Balance available but paid work paused** | Hard spend limit, account state, and applicable eligibility message. |
| **Cannot create another worker or channel** | Account tier and resource limits. |
| **Cannot change billing** | Your billing-management permissions and active account. |
| **Unexpected usage** | Usage categories and ledger events, then the relevant task or worker activity. |
For worker-specific quote fields and after-hours terms, see [Worker billing](/workforce/settings-billing).
# Brand guidelines
Source: https://docs.odella.ai/platform/brand-guidelines
Generate and review organization brand guidance from your website and approved materials.
# Give your workforce approved brand context
Open **Account → Organization → Brand** to prepare a shared source of guidance for writing style, visuals, and brand usage. You need permission to update the organization's brand.
## Generate a brand pack
1. Start the brand generation flow from the **Brand** tab.
2. Enter the organization's **Website URL**.
3. Add relevant notes and optional approved evidence, such as logos, decks, screenshots, fonts, or a supported ZIP pack. Follow the uploader's current file limits.
4. Select **Generate** and monitor the background task.
5. Return to the Brand tab to review the result and generation status.
You can continue other work while generation runs. A queued or running task is not yet a completed pack.
## Review the guidance
Check the generated summary and available artifacts against approved source material:
* Brand name and description.
* Writing voice, tone, and terminology.
* Colors, typography, and visual rules where present.
* Unsupported claims, outdated information, or source conflicts.
The generated pack is intended to provide organization brand context in worker workspaces. Still test a representative worker output after changes; available context is not a guarantee of perfect adherence.
## Update or regenerate
Use **Regenerate** with corrected sources or more specific notes when the brand changes or the first result is inaccurate. Review the new result before relying on it for customer-facing work.
Keep [worker instructions](/workforce/identity) and relevant [private skills](/workforce/create-a-skill) consistent with the approved guidance. Avoid contradictory rules in several places.
## Troubleshooting
* **Still queued or running:** Check the task status before submitting another generation.
* **Failed generation:** Review the reported error, website accessibility, and uploaded files, then retry with corrected inputs.
* **Read-only view:** Ask someone with organization brand-update permission to make the change.
* **Off-brand output:** Confirm the latest generation succeeded, clarify conflicting instructions, and test the worker with a concrete example.
> [!WARNING]
>
> Upload only materials your organization is authorized to use. Generated
> guidance does not establish ownership of a logo, font, image, or other
> third-party material.
# Models and privacy
Source: https://docs.odella.ai/platform/models
Compare available models and pricing, choose worker models, and configure text-provider retention controls.
# Choose models for the work
Models are one part of how an AI Employee performs its role. Responsibilities, approved source material, tools, instructions, and human review matter just as much as model selection.
## Compare available models
Open **Account → Models** to review the available models, capabilities, and pricing.
* Text models show token costs.
* Image, video, and audio models show their applicable billing units.
* Availability and supported choices can change as models are added or retired.
The Models page is a comparison reference. To change an individual worker's language model, reasoning effort, image/video defaults, or capacity, open its **Settings → Model & Intelligence**. Review any proposed quote change before saving.
See [Worker model settings](/workforce/settings-model-intelligence) and [Billing and credits](/platform/billing-and-credits).
## Zero data retention for text
In an organization account, open **Account → Organization → Settings → Model privacy**. With the appropriate account-settings permission, use **Zero data retention** to restrict AI Employee text traffic to providers that do not retain prompts or outputs.
When enabled:
* Supported text traffic uses eligible providers.
* Unsupported text models fall back to the platform default.
* Image and video generation are unchanged.
> [!WARNING]
>
> This is a text-provider retention control, not a promise that Odella stores no
> conversation history or that every connected service retains no data. It does
> not configure image/video retention, document-store disposal, or third-party
> integration policies.
If the control is read-only, ask a person with account-settings update permission to review it. After changing it, test representative work and check any change in model behavior.
## Match models to responsibilities
1. Identify the type of work: drafting, extraction, research, analysis, or media creation.
2. Review the sensitivity of the information and your organization's provider/privacy requirements.
3. Choose an available model and reasoning setting appropriate for the task.
4. Test normal, missing-data, and difficult cases against approved review criteria.
5. Compare quality and actual usage before expanding responsibilities.
A more expensive model or higher reasoning setting does not guarantee correct results. Keep a review step for consequential outputs.
## Retired models and defaults
A saved retired model can appear as **Deprecated** until you select a current option. Onboarding can also supply a different configuration from platform defaults. Check the worker's saved settings and quote rather than assuming every worker uses the latest default.
For access and wider data-handling guidance, see [Roles and permissions](/platform/roles-and-permissions) and [Platform security](/platform/security).
# Organization and teams
Source: https://docs.odella.ai/platform/organization
Manage organization members, invitations, teams, and shared account settings.
# Organize your team
Open **Account → Organization** in the intended organization account. This area contains **Members**, **Invitations**, **Teams**, **Roles**, **Brand**, and **Settings**. What you can change depends on your permissions.
Check the active account before inviting people or changing shared settings. A personal account and an organization account are separate workspaces.
## Invite members
1. Open **Members** or **Invitations** and start an invitation.
2. Enter the intended person's email and review the offered access settings.
3. Send the invitation, then track its status under **Invitations**.
4. After acceptance, check the member's team membership, role assignments, and access to the resources they need.
An invitation is not evidence that the person has accepted or can access every worker and document store. Review pending invitations and withdraw obsolete invitations using the available controls.
## Create and manage teams
Use teams to group people with a shared responsibility, such as Customer operations or Finance.

Organization teams with synthetic Storybook example data.
1. Open **Teams** and select **New Team**.
2. Give the team a clear name and purpose.
3. Open its details to manage membership and applicable role assignments.
4. Configure the resources that should be available to that team.
Team membership and permission grants work together; creating a team alone does not grant every member access to every resource. Review dependencies before archiving a team, and check any access rules that refer to it.
## Roles and resource access
Use **Roles** to review the capabilities assigned to members or teams. Use each resource's access controls to decide who can use that particular worker, store, or other shared resource.
See [Roles and permissions](/platform/roles-and-permissions) and [Worker governance](/workforce/governance) before broadening access.
## Organization-wide settings
* **Brand** manages generated brand guidelines and approved source materials. See [Brand guidelines](/platform/brand-guidelines).
* **Settings** includes organization profile and available account-level privacy controls. Read the explanation next to each setting before enabling shared context or conversation access.
* Model privacy settings govern available model choices separately from worker assignments. See [Models](/platform/models).
## Admin read-only conversation access
Under **Settings → Privacy & access**, **Allow admins to view member conversations** controls whether organization administrators can open members' chat history in read-only mode.
This does not let an administrator send messages, retry turns, edit messages, approve actions, or act as the conversation owner. Viewed conversations display a read-only banner identifying the owner and viewer.
This setting is different from a worker's **Share conversations across members** setting, which controls what context the worker can draw on while helping different people. Review both deliberately; neither should be treated as unrestricted impersonation or message access.
## Remove or change a member
Review the person's worker-management responsibilities, role assignments, and team memberships before removing access. Reassign accountable managers where required. Removing a member does not mean shared organization resources or records should be deleted.
> [!WARNING]
>
> Organization deletion, member removal, personal account deletion, and worker
> termination are different operations. Use the correct account and review the
> confirmation before proceeding.
## Troubleshooting
* **Tabs or controls are read-only:** Ask someone with the specific organization-management capability to make the change.
* **Member cannot see a worker:** Check organization membership, team/role requirements, and the worker's governance settings.
* **Unexpected account after switching:** Wait for account switching to finish and confirm the organization before editing.
* **A departing member manages workers:** Assign a replacement manager and review automations and approvals before completing the handover.
# Phone numbers
Source: https://docs.odella.ai/platform/phone-numbers
Find, verify, reserve, and assign numbers for your AI Employees' phone and messaging channels.
# Manage workforce phone numbers
Open **Account → Phone numbers** to manage reserved numbers. Number availability, compliance requirements, and supported capabilities vary by country and number type.
A reserved number is not automatically a published communication channel. Assignment, provider registration, and channel publication are separate steps.
## Get a number
**1. Start the number flow**
Select the get-number action. Choose the country and number type, then
search the available inventory.
**2. Review capabilities and requirements**
Confirm that the number supports the SMS and/or voice capabilities you need.
Review the displayed pricing and verification requirements before ordering.
**3. Complete verification**
Where required, follow the verification wizard for that country and number
type. Supply accurate business, address, identity, and supporting-document
information. Complete any additional identity check presented by the flow.
**4. Track activation**
Return to the list to review pending applications or orders. Submission is
not approval, and a selected number is not active until setup completes.
Do not include personal verification documents in a worker's general instructions or knowledge store. Submit them only through the designated verification flow.
## Resolve a pending or rejected application
Read the current application status and any document-specific rejection reason. Use the offered edit/resubmit action to correct the existing submission where available. Do not repeatedly order new numbers to work around an unresolved verification requirement.
If an order or verification remains pending, check its current status before retrying payment or starting another request. Contact support with the application or order reference, not sensitive identity documents.
## Assign the number to a worker
Assign an active number to the intended AI Employee, then select that number in its channel editor. The Phone setup checks that it is actively assigned to that worker and supports the enabled options.
* **Phone** can use SMS and voice separately; at least one must be enabled.
* **Signal** requires its own registration and activation.
* **WhatsApp** requires its registration/display-name approval flow.
Using the same assigned number does not mean these channels share a single activation state. See [Phone and messaging channels](/workforce/channels/phone-and-messaging).
## Release a number
Before using a release action, review the displayed impact on channels using the number. Move or disable affected communication paths intentionally and confirm the consequences before proceeding. Releasing a number is not the same as pausing an individual channel.
## Troubleshooting
* **Number missing in a channel:** Check the active account, assignment, and activation status.
* **Publishing blocked:** Verify assignment and that selected SMS/voice options are supported.
* **WhatsApp or Signal not receiving messages:** Check that channel's registration state, publication, and inbound policy—not only the number order.
* **Paid channel unavailable:** Review [credits, spend limits](/platform/billing-and-credits), and [account limits](/platform/usage-and-limits).
# Profile and account
Source: https://docs.odella.ai/platform/profile-and-account
Manage personal contact details and saved signatures, and understand account deletion and organization handover.
# Manage your personal account
Open **Account → Profile** to manage your name, profile image, contact verification, and saved signature. Confirm the signed-in identity before making security-sensitive changes.
## Profile and contact details
Update your name or photo using the controls on the page. For email, phone, and other sign-in details, follow the offered account-management and verification flow.
For phone verification, enter the correct country and number, request a code, and complete verification. A personal verified phone number is not a reserved workforce number; see [Phone numbers](/platform/phone-numbers) for worker channels.
## Manage your signature
Select **Manage signature** to view or create a saved signature. Use the offered capture controls, then select **Save signature**. You can later **Change signature** or **Remove signature**.
A saved signature is a personal convenience for signing. Saving it does not sign a document, send invitations, or let an AI Employee sign on your behalf. Removing it does not remove signatures from already completed records.
## Understand the different removal actions
| Action | Scope |
| - | - |
| **Terminate a worker** | Removes that AI Employee and its related setup. |
| **Remove organization membership** | Changes a person's participation in that organization. |
| **Delete an organization** | A separate organization lifecycle action requiring appropriate authority. |
| **Delete your account** | Deletes your signed-in user identity after the required checks and organization departures. |
Do not use one action as a substitute for another. Shared organization records are not automatically deleted when an individual user leaves or deletes their account.
## Delete your account
**1. Prepare the handover**
Review your organization memberships and responsibilities. Resolve any
displayed departure requirements and reassign accountable worker managers or
other responsibilities where required. Save any personal information you
need through permitted export/download controls.
**2. Open the deletion control**
In **Account → Profile**, choose **Delete account** and confirm the
displayed signed-in identity.
**3. Verify and confirm**
Complete identity reverification if requested. Type **DELETE** exactly, then
use the confirmation control.
**4. Wait for a confirmed result**
Successful deletion signs you out. If deletion cannot be confirmed, read the
error and check your sign-in and membership state before retrying.
> [!WARNING]
>
> Account deletion is destructive. It is not a promise that every retained
> record disappears immediately: shared organization data and records subject to
> retention obligations follow their applicable lifecycle and policies.
If deletion stops after some organization departures, review your memberships before trying again. Contact [support@odella.ai](mailto:support@odella.ai) if the result remains uncertain; do not keep repeating a destructive action blindly.
# Roles and permissions
Source: https://docs.odella.ai/platform/roles-and-permissions
Understand organization capabilities, team roles, resource access, and worker editing permissions.
# Give people the access their work requires
Odella separates account-level capabilities from access to individual resources. Being able to view a worker does not necessarily mean you can change their instructions, manage billing, or inspect another person's conversation.
## The access layers
| Layer | Question it answers |
| - | - |
| **Organization membership** | Does this person belong to the active organization? |
| **Roles and capabilities** | Which kinds of operations may they perform? |
| **Team membership** | Which organizational groups do they belong to? |
| **Resource access** | Can they access this particular worker, store, or shared resource? |
| **Worker governance** | Who manages this worker, who can edit which areas, and how are conversations shared? |
| **Channel and tool policies** | Who can contact the worker, and which actions need approval? |
A role, team, or saved approval rule is not a shortcut around the other applicable controls.
## Review or create a role
1. Open **Account → Organization → Roles**.
2. Review the role's scope and capabilities. Organization and team roles serve different audiences.
3. If permitted, create or edit a role with only the capabilities required for the job.
4. Assign it through the appropriate member or team controls.
5. Check the intended resource with a representative member's access before relying on the setup.
Use recognizable business names and a description of the role's responsibility. Review the impact on current assignments before changing or deleting an existing role.
## Share a resource
For a Document Store in an organization account, open **Settings → Access**. For an AI Employee, open **Settings → Governance**. Review the primary audience and any additional access rules offered by that resource.
For example, a Customer operations team can be the audience for a worker, while only selected editors can change its instructions. The worker can still require approval before sending a customer email.
> [!WARNING]
>
> Giving someone access to a signing store can expose previously completed
> signing records too. Check the full record audience, not just future requests.
## Access is not editing
Worker governance can restrict editing to the manager and selected people or team-role combinations, with different permitted settings areas. An editing assignment does not itself grant access to the worker. See [Worker governance](/workforce/governance).
Similarly, a manager assignment is an accountable governance role, not merely a profile label. It does not automatically authorize every unrelated account operation or third-party application.
## Diagnose a permission problem
Check in this order:
1. Correct signed-in user and active organization.
2. Current membership and relevant role assignment.
3. Team membership if the resource uses a team audience.
4. Access to the specific resource.
5. Permission for the specific operation or settings area.
6. Applicable channel, tool, account, or provider restrictions.
A personal access token cannot exceed these permissions. Its scopes are an additional limit, not a replacement for authorization. See [MCP server](/integrations/mcp-server).
Review access when people join, change responsibilities, or leave. Start with narrow grants and document who owns each shared resource.
# Security and data protection
Source: https://docs.odella.ai/platform/security
Understand Odella's layered security model, customer responsibilities, assurance resources, and legal data-protection terms.
Odella uses a layered security model for identity, customer separation, worker execution, connected applications, model access, and human approval. Product controls and customer configuration work together: Odella operates the platform controls, while each customer decides who may access its account and what each worker is permitted to use.
> [!NOTE]
>
> This page is a non-contractual product overview. The [Terms of Use](https://www.odella.ai/legal/terms), [Privacy Policy](https://www.odella.ai/legal/privacy), [Data Processing Addendum](https://www.odella.ai/legal/dpa), and applicable order form or written agreement govern where they apply.
## Security model
> [card] Identity and access
>
> Authenticated users operate within an organization account. Administrative and resource permissions determine what each user can configure or access.
> [card] Customer and worker boundaries
>
> Customer context and worker assignments are used to limit access to workflows, knowledge, templates, applications, and tools.
> [card] Controlled execution
>
> AI Employees perform work in isolated execution environments with bounded resources and scoped platform access.
> [card] Capability enforcement
>
> Tools and integrations are made available through controlled platform capabilities rather than unrestricted access to external systems.
> [card] Protected credentials
>
> Integration and model-provider credentials are managed by platform services and are not intentionally exposed to worker workspaces.
> [card] Human oversight
>
> Approval policies and workflow review steps keep people in control of sensitive, external, and high-impact actions.
## Identity and least privilege
Access decisions can involve several layers:
1. The authenticated organization and user
2. The selected AI Employee
3. Resources assigned to that worker
4. The current conversation, workflow, or task
5. Tool-specific allow, block, and approval rules
6. The connected account's own permissions
A valid user session or active worker does not grant access to every organization resource. Assign workers only the capabilities required for their responsibilities and remove access when it is no longer needed.

See [Security & Privacy settings](/workforce/settings-security-privacy) for inbound access, outbound messaging, tool approval policies, and saved exceptions.
## Data protection
The technical and organizational measures described in the DPA include, as applicable:
* Role-based and least-privilege access
* Unique identities and multi-factor authentication for privileged and critical production access
* Access logging and periodic access review
* Encryption in transit using TLS 1.2 or higher
* Encryption at rest using AES-256 or equivalent provider-managed encryption
* Managed secret storage and access restrictions
* Logical customer-separation controls
* Development and production separation
* Change review, testing, deployment records, and recovery practices
* Vulnerability, dependency, and cloud-security monitoring
* Security logging, incident response, backup, and recovery procedures
* Vendor and Subprocessor review
* Documented deletion and disposal procedures
The complete and current contractual description is in [Annex II of the DPA](https://www.odella.ai/legal/dpa).
## AI Employee execution
Worker execution is separated from the public application tier. Persistent customer work and replaceable execution capacity are treated separately, and tool availability is resolved from the worker's authorized resources and policies.
Important customer controls include:
* Worker role and manager
* Assigned skills, workflows, templates, and knowledge
* Connected inboxes and applications
* Working hours and service state
* Inbound and outbound messaging policies
* Tool approval policy and saved tool rules
* Human approval steps inside workflows
See [AI Employee settings](/workforce/settings-overview) for the complete configuration reference.
## Integrations and credentials
Odella supports OAuth and other appropriate authentication methods for customer-authorized applications. Connection and authorization are completed through controlled application flows, and protected credentials are associated with the relevant account or user scope.
Workers normally use connected applications through authorized tools. They do not need reusable application credentials in their workspace.
A connected application remains subject to:
* The provider's permissions and terms
* Organization and user scope
* Worker assignment
* Tool approval rules
* Outbound-recipient policy
* Workflow approval steps
Custom integrations connect customer-selected remote MCP servers and carry additional third-party risk. See [Custom integrations](/integrations/custom-integrations) for endpoint requirements, authentication, assignment, and the conservative tool trust model.
## Model access
Model requests pass through a controlled Odella service boundary. Worker environments are not provisioned with direct model-provider credentials. Available models and worker model selections remain subject to workspace and worker configuration.
See [Models](/platform/models) and [Model & Intelligence settings](/workforce/settings-model-intelligence).
## Data residency and international processing
Data residency, international transfers, support access, customer-selected services, and Subprocessor locations are governed by the applicable contractual terms and account configuration.
Do not assume that choosing a region prevents every transfer. Customer-selected model providers and integrations may process data in locations governed by their own terms and configuration.
Review:
* [Privacy Policy](https://www.odella.ai/legal/privacy) for current privacy, residency, retention, and individual-rights information
* [Data Processing Addendum](https://www.odella.ai/legal/dpa) for processing roles, security terms, international-transfer mechanisms, breach obligations, and deletion terms
* [Subprocessors](https://www.odella.ai/legal/subprocessors) for how the current list and change-notice process are managed
* [Trust Center](https://www.odella.ai/legal/trust) for current assurance and Subprocessor information
## Monitoring, audit, and resilience
Odella records relevant operational and security events to support monitoring, troubleshooting, access review, and incident response. Platform controls include protected logging, monitored services, bounded retries, recovery mechanisms, and separation of durable customer state from replaceable worker execution.
The product's [Activity Log](/workforce/activity) gives authorized users a worker-level view of conversations, tasks, workflows, and service events. It is not a replacement for the broader assurance material available through the Trust Center.
## Shared responsibility
| Odella responsibilities | Customer responsibilities |
| - | - |
| Operate and secure the platform controls described in applicable agreements | Manage organization users and administrator access |
| Protect platform-managed credentials and service boundaries | Assign appropriate capabilities to each worker |
| Maintain platform monitoring, incident response, backup, and recovery practices | Connect only approved applications and external services |
| Apply customer and worker context to platform authorization | Review provider scopes, terms, retention, and data handling |
| Provide applicable privacy and data-processing terms | Establish a lawful basis and required notices for submitted personal data |
| Support available deletion, export, and access-control functions | Configure approvals and review outputs before consequential use |
| Maintain vendor and Subprocessor governance | Remove users, workers, credentials, and connections no longer required |
## Recommended customer controls
**1. Assign accountable owners**
Identify an organization administrator, security contact, integration owner, and manager for each production worker.
**2. Start with minimum access**
Assign only the workflows, knowledge, templates, applications, and tools required for the role.
**3. Review external services**
Evaluate each integration and custom MCP server before connecting it, including the provider's terms, permissions, hosting, retention, and subprocessors.
**4. Require approval where needed**
Keep people in the approval path before external sends, sensitive writes, destructive operations, or decisions requiring authorization.
**5. Test representative work**
Verify normal, failure, and escalation paths with non-sensitive data before production use.
**6. Review access and activity**
Periodically review administrators, worker assignments, integration connections, saved approval rules, and worker Activity.
**7. Revoke promptly**
Disable workers, disconnect integrations, rotate credentials, and remove user access when responsibilities change.
## Assurance and legal resources
> [card] [Trust Center](https://www.odella.ai/legal/trust)
>
> Review current security and compliance assurance information and the authoritative Subprocessor register.
> [card] [Data Processing Addendum](https://www.odella.ai/legal/dpa)
>
> Review processing roles, technical and organizational measures, breach terms, transfers, deletion, and audit rights.
> [card] [Privacy Policy](https://www.odella.ai/legal/privacy)
>
> Review how Odella collects, uses, protects, retains, and transfers personal information.
> [card] [Subprocessors](https://www.odella.ai/legal/subprocessors)
>
> Review the Subprocessor-list process, change notices, and contact information.
> [card] [Terms of Use](https://www.odella.ai/legal/terms)
>
> Review the terms governing use, customer responsibilities, security, data protection, and third-party services.
> [card] [Security review support](mailto:support@odella.ai)
>
> Contact Odella for product questions or to coordinate an enterprise security review.
For privacy and Data Subject requests, contact [dsar@odella.ai](mailto:dsar@odella.ai). For legal and DPA questions, contact [legal@odella.ai](mailto:legal@odella.ai).
# Usage and limits
Source: https://docs.odella.ai/platform/usage-and-limits
Review credit consumption, account capacity, tier changes, and restrictions affecting your AI workforce.
# Understand spend and capacity
Use **Account → Usage** to investigate consumption and **Account → Limits** to understand the capabilities and resource capacity available to your account.
These are separate from [Billing and credits](/platform/billing-and-credits), which manages funding and spend policy.
## Review usage
1. Open **Account → Usage** in the intended account.
2. Review the daily credit-spend chart for the current billing period.
3. Inspect usage categories and ledger events to identify the source of consumption.
4. Compare relevant entries with worker [Activity](/workforce/activity) and [Tasks](/workforce/tasks).
A worker's quote explains its pricing terms; a usage entry records consumption. An estimated monthly quote does not include every possible usage-based charge.
## Review account limits
Open **Account → Limits** to see:
* Your current tier.
* Capacity for account resources, such as workers, document stores, and channels.
* Which capabilities are included or restricted.
* Requirements for an upgrade or downgrade.
Use the values displayed for your account rather than assuming all accounts have the same allowances. Resource limits can prevent creation even when the account has credits.
## Change tier
Review the proposed tier's capabilities and capacity before confirming. If a downgrade would exceed the target tier's capacity, follow the displayed requirements for resolving excess resources. Read the confirmation carefully: available downgrade controls can take effect immediately.
Before removing a resource to meet a limit, check its assignments and dependencies. Deleting a worker or store is not equivalent to temporarily pausing it.
> [!WARNING]
>
> A tier change is not a purchase of unlimited usage, and adding credits is not
> a tier upgrade. Check funding, spend controls, and capability eligibility
> separately.
## Troubleshoot a blocked operation
| Restriction | Typical next step |
| - | - |
| **Credit balance** | Fund the correct account or resolve a failed payment. |
| **Hard monthly spend limit** | Review the limit with an authorized billing manager. |
| **Resource capacity** | Adjust resources or select a suitable tier. |
| **Capability unavailable** | Check the tier and current availability of the requested feature. |
| **Worker unavailable** | Check its active state, schedule, and permissions. |
| **Permission denied** | Review account role and resource access; a tier upgrade does not grant authorization. |
After fixing the cause, inspect the original task or request before retrying to avoid repeating actions that already succeeded.
# Template overview
Source: https://docs.odella.ai/templates/01_overview
Create governed PDF and DOCX templates that AI Employees can use to produce consistent documents.
# Create consistent documents from approved templates
Templates turn repeatable PDFs and Word documents into reusable drafting resources. Workers and workflows can use them to create documents from structured data, source files, messages, and connected applications.
## When to use a template
Use a template when the output must follow an established structure, layout, or precedent.
> [card] [PDF templates](/templates/02_pdf-template)
>
> Use fixed layouts for forms, applications, and standardized documents.
> [card] [DOCX templates](/templates/03_docx-template)
>
> Use flexible Word documents with variables, conditions, loops, and reusable clauses.
## Template lifecycle
**1. Choose an approved source document**
Begin with the version your team is authorized to use. Remove obsolete content and unresolved comments before upload.
**2. Create the template**
Upload a supported PDF or DOCX file, then review the generated name and description.
**3. Configure fields and instructions**
Define how source values map into the document and explain when the template should be selected.
**4. Test representative data**
Include missing optional values, long text, special characters, and each conditional path.
**5. Publish**
Publish only after the output has been reviewed against the source document.
**6. Assign and govern**
Add the template only to workers and workflows that need it. Review it again whenever the underlying precedent changes.
## Create a template
Open **Templates** and select **New Template**.
1. Upload a PDF or DOCX source document.
2. Review the proposed name and description.
3. Create the template and open its editor.
4. Add clear usage instructions.
5. Test the generated document before publishing.
## Write useful template instructions
Instructions help a worker decide when and how to use the template. Include:
* The document's purpose
* When to use it and when not to use it
* Required source information
* Field-mapping and formatting rules
* Optional sections and conditional behavior
* Escalation requirements for missing or conflicting data
* The person responsible for reviewing the result
> [!TIP]
>
> Distinguish similar templates explicitly. For example, explain which jurisdiction, customer type, transaction, or process each template applies to.
## Collect signatures
Use [E-signing](/templates/05_e-signing) when a document needs signatures or answers from specific people. Configure signing fields and parties, choose a signing store and policy, and publish the template. Your AI Employee prepares the document, you review the request, and each recipient completes their own fields.
## Draft and published states
Use **Save** while configuring and testing. Publish the template when it is ready to be used by assigned workers and workflows. A saved draft should not be treated as production-ready.
## Use templates with workers
A worker can select an assigned template when the delegated task and template instructions match. It gathers source information, populates the document, and returns the result for review.
See [Using templates](/templates/04_using-templates) for delegation and review guidance.
## Governance checklist
Before publishing, confirm:
* The source document is current and approved.
* Every required field has a defined source.
* Optional and missing values are handled safely.
* Dates, numbers, names, and currencies use the required format.
* Conditional sections have been tested.
* Generated output preserves the required layout.
* A human reviewer is identified for business-critical documents.
> [!WARNING]
>
> Templates improve consistency but do not validate the legal, financial, regulatory, or operational suitability of generated content. Apply the review required by your organization.
# PDF templates
Source: https://docs.odella.ai/templates/02_pdf-template
Configure fixed-layout PDF forms that AI Employees and workflows can populate from approved source information.
# Create a PDF template
PDF templates are best for forms and standardized documents where the page layout must remain fixed. Odella identifies fillable fields so you can review their purpose and define how each value should be populated.
## Before you begin
Use a current, approved PDF with existing form fields whenever possible. Confirm that:
* The file opens correctly.
* Field names are distinct and meaningful.
* Required and optional fields are known.
* Obsolete values and unresolved comments have been removed.
* You have authority to use the document as a template.
## Create the template
**1. Upload the PDF**
Open **Templates**, select **New Template**, and upload the source PDF.
**2. Review template details**
Give the template a specific name and description. Explain the document's purpose, when it applies, and how it differs from similar forms.
**3. Review detected fields**
Confirm that each expected field is present and correctly identified. Fix ambiguous field names or instructions before testing.
**4. Add field instructions**
Define the source, format, default behavior, and missing-data behavior for each field.
**5. Test with representative data**
Generate sample documents that cover normal, missing, long, and invalid values.
**6. Publish**
Publish only after the populated PDF has been compared with the approved source and reviewed by the process owner.
## Write field instructions
Good field instructions are specific and testable.
| Field type | Example instruction |
| - | - |
| **Name** | “Use the full legal name from the approved customer record. Preserve punctuation and suffixes.” |
| **Date** | “Use the agreement date in DD/MM/YYYY format. Do not substitute today's date when it is missing.” |
| **Currency** | “Use the approved contract value in AUD with two decimal places.” |
| **Checkbox** | “Select only when the source record explicitly confirms consent.” |
| **Signature** | Configure as an e-signing field and assign a signer. Do not ask the AI Employee to supply a signature. |
Avoid instructions such as “fill appropriately.” State where the value comes from and what to do when the source is unclear.
## Add e-signing fields
In **Variables**, select a signature field and choose **Use for e-signing**, or configure another compatible field's **Field purpose**. Assign a signing party to each signing field. For ordinary answers, **Filled in by** determines whether the AI Employee or the assigned person supplies the value.
Before publishing, choose **Where signed copies go** and a **Signing policy** in **E-signing**. See [E-signing](/templates/05_e-signing) for the complete setup, human approval, and recipient process.
## Defaults and validation
Use defaults only for values approved to remain consistent across documents. Do not use defaults for facts that must come from the current matter, customer, transaction, or request.
Validation can include:
* Required-value checks
* Date and identifier formats
* Allowed value lists
* Number and length limits
* Cross-field consistency checks
## Test the output
Include tests for:
* Every required field
* Missing optional fields
* Long names and addresses
* Special characters
* Multi-line text
* Each checkbox and dropdown state
* Values near field-length limits
* Page rendering and print output
## Assign and use the template
After publishing, assign the PDF template to the appropriate workers or select it in a [Populate Template block](/block-reference/draft/populate-template). See [Use templates](/templates/04_using-templates) for delegation and review guidance.
> [!WARNING]
>
> Review generated PDFs before filing, signing, sending, or relying on them. A populated form can still contain incorrect source data or an inappropriate template choice.
# DOCX templates
Source: https://docs.odella.ai/templates/03_docx-template
Configure Word templates with variables, conditions, loops, equations, and reusable document logic.
## Create Your First DOCX Template
Use DOCX templates to turn approved Microsoft Word documents into reusable templates in Odella. Add variables, conditions, loops, equations, and image fields for contracts, letters, reports, correspondence, and other documents with dynamic content.
DOCX templates work best for documents with dynamic content. Provide approved source material and review the populated document before final use.
## Step-by-Step Template Creation
**1. Upload Your DOCX Document**
Start by uploading your Word document to Odella. Navigate to the Templates section and click "Create New Template," then select "DOCX Template" and upload your file. Ensure your document is properly formatted and contains the content structure you want to template.
**2. Name and Describe Your Template**
Give the template a specific name and description. State its purpose, when it applies, when it should not be used, and any review requirements.
**3. Edit Document with Mustache Syntax**
Enter the template drafting editor where you can modify your document using Mustache syntax to define variables, conditions, loops, equations, and formatting. The syntax uses double curly braces `{{ }}` as delimiters and allows you to create dynamic content that adapts based on data inputs while maintaining document structure and formatting.
**4. Sync Template Fields**
After adding Mustache syntax, select **Sync Document**. Odella detects template variables and proposes field types and filling instructions from the variable names and surrounding document context. Review every proposed instruction before publishing.
**5. Review and Configure Field Instructions**
Review all detected template fields and their auto-generated instructions. You can adjust the prompts to change the tone, set default values, and modify drafting instructions based on your specific requirements. Each field displays its type, current instruction, and preview of how it will be populated. Fine-tune these instructions to ensure the AI understands exactly how to fill each field according to your legal standards and formatting preferences.
**6. Save and Publish**
When you're finished configuring all fields and instructions, save and publish your template. The template is now available for use and can be attached directly to an AI Employee or integrated into workflows for automated document generation.
## Template Syntax Reference
### Variables
Insert dynamic values into your template using variable syntax.
#### Basic Variables
**Syntax:** `{{ variable_name }}`
Simple variable interpolation replaces the placeholder with the actual value from your data. Variable names should be descriptive and match the data field exactly. Variables are case-sensitive and can include underscores but should avoid spaces.
**Example:** `{{ client_name }}`, `{{ contract_date }}`
#### Transform Pipes
**Syntax:** `{{ variable_name | formatter }}` or `{{ variable_name | formatter(arg1, arg2) }}`
Post-process variables with formatters for text transformation, currency formatting, or image embedding. Chain multiple pipes with additional `|` operators.
**Available Pipes:**
* `lowercase` - Converts text to lowercase
* `uppercase` - Converts text to uppercase
* `capitalize` - Capitalizes the first letter of each word
* `currency(currencyISO, fractionDigits, locale)` - Formats as currency (default: USD, 0 decimals, en locale)
* `image(width, height)` - Embeds an image from URL with specified dimensions
**Example:** `{{ amount | currency(USD, 2) }}`, `{{ name | capitalize }}`
### Conditionals
Control which content appears based on conditions.
#### Simple Conditionals
**Syntax:** `{{ ? condition }} content {{ / condition }}`
Conditional sections display content only when their condition evaluates to true. Use them for clauses or sections that depend on defined input values.
**Example:** `{{ ? is_corporate }} This is a corporate agreement {{ / is_corporate }}`
#### Inverted Conditionals
**Syntax:** `{{ ^ condition }} content {{ / condition }}`
Shows content when a condition is false. This is shorthand for `{{ if not condition }}`.
**Example:** `{{ ^ is_premium_client }} Standard terms apply {{ / is_premium_client }}`
#### If/Else Branching
**Syntax:** `{{ if condition }} ... {{ else if condition_b }} ... {{ else }} ... {{ /endif }}`
Multi-branch conditional sections with explicit if/else if/else logic. Note that `{{ ? condition }}` is shorthand for `{{ if condition }}` and `{{ ^ condition }}` is shorthand for `{{ if not condition }}`. Close blocks with `{{ /endif }}`.
**Example:** `{{ if is_corporate }}Corporate{{ else if is_nonprofit }}Nonprofit{{ else }}Individual{{ /endif }}`
### Loops
Iterate through lists and arrays to generate repeating content.
**Syntax:** `{{ # items }} {{ item_value }} {{ / items }}`
Iteration blocks that repeat content for each item in a list or array. The opening tag `{{ # items }}` starts the loop, and the closing tag `{{ / items }}` ends it. Everything between these tags will be repeated for each item in the collection. Inside the loop, you can access properties of each item directly.
**Example:** `{{ # witnesses }} {{ name }}, {{ title }} {{ / witnesses }}`
**Special Variables:**
* `{{ loop_index }}` - Provides automatic numbering starting from 1
### Equations
Compute values inline using arithmetic and function expressions.
**Syntax:** `{{= expression }}`
Evaluates arithmetic or function expressions. Reference variables using bracket notation `[variable_name]`. Basic arithmetic operators (`+`, `-`, `*`, `/`, `%`, `^`) and parentheses are supported.
**Example:** `{{= 1 + 1 }}`, `{{= SUM([amounts]) }}`, `{{= ROUND([amount] * [tax_rate], 2) }}`
Variables in equations must be wrapped in square brackets: `[amount]`, `[tax_rate]`, `[prices]`.
#### Supported Equation Functions
##### Aggregation Functions
* **SUM(...numbers)** - Adds all numbers. Example: `{{=SUM([prices])}}`
* **AVERAGE(...numbers)** - Returns arithmetic mean. Example: `{{=AVERAGE([scores])}}`
* **COUNT(...values)** - Counts numbers in arguments. Example: `{{=COUNT([items])}}`
* **MAX(...numbers)** - Returns largest value. Example: `{{=MAX([prices])}}`
* **MIN(...numbers)** - Returns smallest value. Example: `{{=MIN([prices])}}`
* **SUMPRODUCT(...arrays)** - Multiplies corresponding array components and sums. Example: `{{=SUMPRODUCT([quantities], [prices])}}`
* **PRODUCT(...numbers)** - Multiplies all numbers. Example: `{{=PRODUCT([width], [height], [depth])}}`
##### Rounding Functions
* **ROUND(number, digits)** - Rounds to specified digits (default 0). Example: `{{=ROUND([amount], 2)}}`
* **CEILING(number, significance)** - Rounds up to nearest multiple (default 1). Example: `{{=CEILING([amount], 5)}}`
* **FLOOR(number, significance)** - Rounds down to nearest multiple (default 1). Example: `{{=FLOOR([amount], 5)}}`
##### Math Functions
* **ABS(number)** - Returns absolute value. Example: `{{=ABS([balance])}}`
* **SQRT(number)** - Returns square root. Example: `{{=SQRT([area])}}`
* **POWER(number, power)** - Raises to power. Example: `{{=POWER([base], 2)}}`
* **MOD(number, divisor)** - Returns remainder from division. Example: `{{=MOD([total], 10)}}`
##### Text Functions
* **CONCATENATE(...text)** - Joins text strings. Example: `{{=CONCATENATE([first_name], " ", [last_name])}}`
* **LEFT(text, numChars)** - Returns first N characters (default 1). Example: `{{=LEFT([code], 3)}}`
* **RIGHT(text, numChars)** - Returns last N characters (default 1). Example: `{{=RIGHT([code], 4)}}`
* **LEN(text)** - Returns string length. Example: `{{=LEN([description])}}`
* **UPPER(text)** - Converts to uppercase. Example: `{{=UPPER([name])}}`
* **LOWER(text)** - Converts to lowercase. Example: `{{=LOWER([email])}}`
##### Logical Functions
* **IF(condition, trueValue, falseValue)** - Returns value based on condition. Example: `{{=IF([is_premium], [price] * 0.9, [price])}}`
### Comments
**Syntax:** `{{! comment text }}`
Comment blocks that are ignored during template processing and won't appear in the final document. Use these for documentation, notes to other template editors, or temporary removal of content.
**Example:** `{{! This section handles payment terms }}`
## Advanced Template Configuration
> [card] Variable Types
>
> Configure different data types for variables including text, dates, numbers, and boolean values. Set formatting requirements and validation rules for each variable type.
> [card] Conditional Logic
>
> Create smart conditional sections that show or hide content based on data values, such as different clauses for different contract types or client categories.
> [card] Dynamic Lists
>
> Use loop syntax to handle dynamic lists of items like witnesses, terms, payment schedules, or any repeating data structures in your documents.
> [card] Default Values
>
> Set approved default values for common fields and define fallback content when optional data is not provided.
## Best Practices
**1. Descriptive Variable Names**
Use clear, descriptive variable names like `{{ client_full_legal_name }}` rather than generic names like `{{ name1 }}`. This helps with AI understanding and template maintenance. Consider using naming conventions like `entity_type`, `agreement_date`, `billing_address_line1` to create consistency across your templates.
**2. Logical Content Structure**
Organize your template with logical sections and use comments to document complex conditional logic or loops for future reference and maintenance. Group related variables together and use whitespace effectively to make your template code readable.
**3. Comprehensive Field Instructions**
Provide detailed instructions for each template field, including formatting requirements, tone preferences, and any special considerations for AI population. Specify whether fields should be formal or casual, how dates should be formatted, and any legal language requirements.
**4. Regular Testing**
Test your templates with sample data to ensure all variables, conditions, and loops work correctly before publishing to production use. Test edge cases like empty lists, missing optional fields, and different data combinations to ensure robust template behavior.
## Using Your DOCX Template
Once published, your AI Employees can use this template to generate documents automatically:
> [card] Delegate via Email, Chat, or Slack
>
> Simply send a message: "Draft the service agreement for Acme Corp using the attached proposal." Your AI Employee extracts the data and generates the document.
> [card] Batch Document Generation
>
> Generate one document or a reviewed batch from validated source data.
> [card] AI Employee Integration
>
> Assign templates to specific AI Employees based on their role. Clear descriptions and instructions help the worker choose the intended template and map available source values. Review the selection and generated output.
> [card] Workflow Integration
>
> Integrate templates into custom workflows using the "Populate Template" block. Templates can be triggered by specific events, data changes, or user actions.
## Documents that need signatures
A DOCX variable named `signature` is an ordinary placeholder, not a recipient-owned signing field. Do not ask a worker to insert someone's signature as a template value.
For DOCX-based signing, the populated document must be converted to its final PDF and its signing layout checked before the request is prepared. Word preview positions are not signing placements. Review the final document, recipients, signing policy, and destination, then approve the exact send request once.
See [E-signing](/templates/05_e-signing) for the distinction between PDF field configuration and DOCX-to-final-PDF preparation. Generating a Word document alone does not send invitations.
## Example Delegation
**You:** "Draft the client engagement letter for Acme Corp using the details from our email thread and the attached proposal"
**AI Employee:**
* Extracts relevant information from emails and proposal
* Selects the appropriate Word template
* Populates all variables, handles conditional logic, and performs calculations
* Generates a document using the template's formatting and configured language
* Delivers the completed document ready for your review
For detailed instructions on how to use your published templates with AI Employees and workflows, see our [Using Templates](/templates/04_using-templates) guide. To populate templates inside a workflow, use the [Populate Template block](/block-reference/draft/populate-template).
## Template Examples
The following patterns demonstrate variables, conditions, loops, equations, and comments.
### Variable Examples
#### Simple Variable Insertion
```
Dear {{ client_name }},
```
This replaces `{{ client_name }}` with the actual client's name from your data. The variable name should exactly match the field name in your data source.
#### Transform Pipe Examples
**Basic Text Formatting:**
```
Company: {{ company_name | uppercase }}
Email: {{ email | lowercase }}
Client Name: {{ full_name | capitalize }}
```
**Currency Formatting:**
```
Total: {{ amount | currency(USD, 2, en) }}
Price: {{ price | currency(EUR, 2, de) }}
Balance: {{ balance | currency(GBP, 0, en-GB) }}
```
**Chaining Multiple Pipes:**
```
{{ company_name | lowercase | capitalize }}
```
This first converts to lowercase, then capitalizes each word.
**Image Embedding:**
```
{{ company_logo | image(300, 150) }}
```
Embeds the image at 300px width and 150px height.
### Conditional Examples
#### Simple Conditional Logic
```
{{ ? is_individual }}
acting in their individual capacity
{{ / is_individual }}
{{ ? is_corporate }}
acting through its duly authorized representatives
{{ / is_corporate }}
```
This creates mutually exclusive content blocks. Only one section will appear based on the client type.
#### If/Else/Else If Chain
```
{{ if is_individual }}
acting in their individual capacity
{{ else if is_corporate }}
acting through its duly authorized representatives
{{ else }}
acting as applicable
{{ /endif }}
```
Equivalent branching using explicit if/else if/else with a closing `{{ /endif }}`.
#### Inverted Conditions
```
{{ ^ is_premium_client }}
Standard terms and conditions apply.
{{ / is_premium_client }}
```
This content only appears for non-premium clients.
#### Conditional Formatting
```
Total Amount: {{ ? currency_symbol }}{{ currency_symbol }}{{ / currency_symbol }}{{ amount }}{{ ? is_estimate }} (estimated){{ / is_estimate }}
```
This shows how to conditionally include formatting elements like currency symbols and qualifiers.
### Loop Examples
#### Simple List Iteration
```
Witnesses:
{{ # witnesses }}
{{ loop_index }}. {{ name }} ({{ title }}){{ ? address }}, residing at {{ address }}{{ / address }}
{{ / witnesses }}
```
This creates a numbered list of witnesses with optional address information. The `loop_index` provides automatic numbering.
#### Nested Conditional Lists
```
{{ ? has_attachments }}
Attachments:
{{ # attachments }}
- {{ filename }}{{ ? description }}: {{ description }}{{ / description }}
{{ / attachments }}
{{ / has_attachments }}
```
This shows how to combine conditionals with loops - only showing the attachments section if attachments exist.
### Equation Examples
#### Basic Equations
```
{{=1 + 1}}
{{=SUM([line_items])}}
{{=ROUND([amount] * [tax_rate], 2)}}
{{=IF([is_discounted], [amount] * 0.9, [amount])}}
{{=CONCATENATE("Total: $", ROUND(SUM([prices]), 2))}}
{{=SUMPRODUCT([quantities], [unit_prices])}}
{{=AVERAGE([scores]) * 100}}
```
#### Loops with Equations
You can combine loops with equations to display lists and calculate totals. Use dot notation `[array.property]` to access nested properties within arrays when using equations:
```
Assets:
{{#assets}}
Item {{idx}}: {{value}}
{{/assets}}
Total Asset Value: {{=SUM([assets.value])}}
```
This example loops through an `assets` array to display each item, then uses `{{=SUM([assets.value])}}` to calculate the total of all `value` properties in the array.
#### Complex Invoice Example
```
Line Items:
{{#line_items}}
- {{description}}: ${{price}} x {{quantity}} = ${{=ROUND([price] * [quantity], 2)}}
{{/line_items}}
Subtotal: ${{=SUM([line_items.total])}}
Tax ({{tax_rate}}%): ${{=ROUND(SUM([line_items.total]) * [tax_rate] / 100, 2)}}
Grand Total: ${{=ROUND(SUM([line_items.total]) * (1 + [tax_rate] / 100), 2)}}
```
Equations can be nested and combined. For example: `{{=ROUND(SUM([amounts]) * [tax_rate], 2)}}` calculates the sum of amounts, multiplies by tax rate, and rounds to 2 decimal places.
### Comment Examples
```
{{! Payment terms section - modify based on client credit rating }}
Payment Terms: {{ payment_terms }}
{{! Late fee calculation is handled in the approved billing workflow }}
```
Use comments to document business logic, remind about future updates, or explain complex template sections to other team members.
Strong governance plans should include reviewing AI-generated documents, especially for business-critical functions. Test all template variables, conditions, and loops thoroughly before publishing. Pay special attention to conditional logic to ensure all possible data combinations produce valid documents.
## See Also
* [Templates Overview](/templates/01_overview)
* [Using Templates](/templates/04_using-templates)
* [Populate Template Block](/block-reference/draft/populate-template)
* [Text to File Block](/block-reference/draft/text-to-file)
* [Flow Output Block](/block-reference/io/graph-output)
Use representative test data and review every conditional path before publishing a DOCX template for production work.
# Use templates
Source: https://docs.odella.ai/templates/04_using-templates
Assign published templates to AI Employees or workflows, delegate document work, and review generated output.
# Use published templates
Published templates can be assigned to AI Employees or selected directly in workflows. The worker uses the template's description and instructions to determine whether it fits the task and how source information should be mapped.
## Before you delegate work
Confirm that:
* The template is published.
* Its description clearly distinguishes it from similar templates.
* Required fields and source information are documented.
* The worker has access to the template and permitted source material.
* A reviewer is responsible for the generated document.
## Assign a template to a worker
**1. Open the worker**
From Workforce, select the worker that will use the template.
**2. Open Templates in the skill tree**
Review available and already assigned templates.
**3. Assign the template**
Add only templates relevant to the worker's role. Too many similar choices can make selection less reliable.
**4. Test a representative request**
Provide realistic source material and confirm that the worker chooses and populates the intended template.
## Delegate document work
A useful delegation includes four parts:
| Include | Example |
| - | - |
| **Requested document** | “Prepare the client intake form.” |
| **Source material** | “Use the attached questionnaire and identification file.” |
| **Special instructions** | “Leave the approval field blank and use DD/MM/YYYY dates.” |
| **Review or delivery requirement** | “Return a draft to the operations manager for review; do not send it externally.” |
The worker can then gather permitted source information, select an assigned template, populate the document, and return the result.
> [!WARNING]
>
> Do not assume missing information. Require the worker to ask a question, apply an approved default, or mark the field for review.
## Use a template in a workflow
Use the [Populate Template block](/block-reference/draft/populate-template) when the template is part of a repeatable process.
**1. Add the block**
Add **Populate Template** at the point where the document should be created.
**2. Select a published template**
Choose the exact template instead of relying on dynamic selection.
**3. Connect source values**
Map validated data from earlier steps, uploaded files, or approved connected applications.
**4. Handle the output**
Send the generated file to a review step, save it to an approved location, or pass it to the next workflow block.
**5. Test failure paths**
Verify behavior when a required value is missing, a file cannot be read, or generation fails.
## Request signatures
For a published signing template, give the worker each recipient's name, email, and signing-party role along with the business information. Review the prepared document and recipients, then approve the one-time send request. Each person receives their own invitation and completes their assigned fields.
Generating a document with **Populate Template** does not by itself send invitations. See [E-signing](/templates/05_e-signing) for setup, approvals, and tracking completed copies.
## Supported source material
Depending on the worker's assigned capabilities and permissions, source information can come from:
* Uploaded documents and images
* Forms, spreadsheets, and CSV files
* Connected inboxes and message threads
* Document Stores
* Earlier workflow steps
* Approved connected business applications
Access remains controlled by the worker's assignments and security policies.
## Review generated documents
Before approving or distributing a document, check:
* The correct template and version were used.
* Names, dates, amounts, identifiers, and addresses match the source.
* Required fields are complete.
* Optional and conditional sections appear correctly.
* Formatting and page layout are intact.
* No unsupported facts were added.
* The output satisfies the process owner's review criteria.
## Improve unreliable output
If results are inconsistent:
1. Make the template description more specific.
2. Clarify field instructions and formatting requirements.
3. Reduce overlap with similar assigned templates.
4. Improve the delegation and source material.
5. Add validation before template population.
6. Retest each conditional path.
> [card] [PDF templates](/templates/02_pdf-template)
>
> Configure fixed-layout forms and field instructions.
> [card] [DOCX templates](/templates/03_docx-template)
>
> Configure variables, conditions, loops, and equations in Word documents.
# E-signing
Source: https://docs.odella.ai/templates/05_e-signing
Configure signing fields, review invitations, and store signed copies and audit trails from your templates.
# Prepare templates for e-signing
Odella lets your AI Employees prepare documents for signature from templates. Your worker fills in the business information; each assigned person provides their own signature and any answers reserved for them. You review the prepared request before invitations are sent.
## Configure a PDF template
Start with an approved [PDF template](/templates/02_pdf-template) and open its editor.
**1. Add or select a field in Variables**
Review the field's name, description, type, and placement on the PDF. A
blank signature field is not automatically an e-signing field: select **Use
for e-signing** to enable it.
**2. Choose the field's purpose and owner**
For compatible fields, use **Field purpose** to choose a signing value such
as initials, signer name, or date signed. For ordinary answers, use **Filled
in by** to choose **Your AI employee** or **The assigned person**.
**3. Assign the signing party**
Choose the **Signer** or **Assigned party** for each signing field. Use
clear roles, such as Customer or Company representative. Every signing field
must have a party before publishing.
**4. Choose where signed copies go**
In **E-signing**, select a signing store under **Where signed copies go**,
or select **Create a signing store** if you have permission. Review who can
access the store before publishing.
**5. Select a signing policy**
Choose the available **Signing policy** appropriate for your process. Review
the displayed signature meaning and record class. A policy is required
before publishing.
**6. Test and publish**
Check field placement, required answers, party assignments, the destination
store, and policy. You can save an incomplete draft, but resolve missing
settings before publishing.
> [!WARNING]
>
> You cannot change the signing store after publishing. Signed copies and their
> audit trails cannot be edited or deleted. Check the destination and its access
> settings carefully.
## Understand signing fields
| Field purpose | How it is completed |
| - | - |
| **Signature** | Only the assigned signer provides their signature. |
| **Initials** | The signer confirms their initials; they are added when signing is completed. |
| **Signer full name** | The signer confirms their full name. |
| **Signer first name / Signer surname** | The signer explicitly confirms each value; it is not inferred from the full name. |
| **Signer email** | Taken from the assigned recipient's email when they finish signing; not an editable answer. |
| **Date signed** | Recorded automatically when the person finishes signing, using the request's timezone and date format. |
| **Answer filled in by the assigned person** | The recipient supplies the answer during signing. This is not itself a signature. |
Only purposes compatible with the selected field type are offered. Keep ordinary business values assigned to the AI Employee and reserve signing fields for the appropriate person.
> [!NOTE]
>
> A DOCX placeholder named “signature” is still an ordinary placeholder, not a
> signing field. The positional field setup above applies to PDF templates.
> DOCX-based signing requires a populated document converted to a final PDF and
> a checked signing layout; do not treat Word placeholders or preview positions
> as signature placements.
## Ask an AI Employee to prepare a request
Assign the published template to the worker, then provide:
* The template to use and the source information for business fields.
* The name and email of the person filling each signing-party role.
* Any delivery instructions or people who should receive a copy.
* A clear requirement to review the request before sending.
For example:
> Prepare the customer agreement using the approved template and attached terms. Assign the Customer role to Alex Chen at [alex@example.com](mailto:alex@example.com). Show me the final document and recipients for review before sending invitations.
The worker prepares the signing draft. Populating or downloading a template alone does not send a signing invitation.
## Review and approve invitations
Open the signing review presented with the worker's approval request. Check:
* The final document, including names, amounts, dates, and page layout.
* Each recipient's name, email address, and assigned role.
* Which fields each person must complete.
* The signing policy and destination for completed records.
Sending requires a [one-time human approval](/workforce/approvals) for the reviewed request. If the document, recipients, or fields change, review the updated draft rather than relying on the earlier approval.
> [!WARNING]
>
> Your AI Employee can prepare and send an approved request, but cannot provide
> a person's signature on their behalf.
## What recipients do
Each recipient receives their own invitation link. They sign in before signing, review the document and signing policy, and complete the fields assigned to them. Their signature and automatically recorded values are applied when they finish signing.
Treat invitation links as private. If a recipient cannot proceed, check that they are using the intended invitation and account rather than forwarding another person's link.
## Track requests and completed copies
Open **Documents → Signing requests** to review prepared requests, outstanding signatures, and completed records. Request details show recipients and their progress, including whether they have opened, signed, or declined.
Once everyone has signed, the signed copy and its audit trail are filed in the template's signing store. Access to those records follows the store's permissions.
Changes to a template's signing policy do not change invitations already sent: those requests keep the policy they were sent with.
## Saved signatures and recipient recovery
Recipients can manage their personal saved signature under [Account → Profile](/platform/profile-and-account#manage-your-signature). A saved signature does not sign automatically or authorize a worker to sign for them. Removing it does not alter completed documents.
| Recipient state | What to do |
| - | - |
| **Signed in with a different account** | Use the account with the invited email address, then reopen the current invitation. |
| **Your part is complete** | Other recipients still need to finish; the whole request is not complete yet. |
| **Preparing your copy** | The final copy is being sealed. Wait for the final download state. |
| **Signing complete** | Download and retain the available completed copy. |
| **Request declined** | Contact the sender to discuss whether a new request is appropriate. |
| **Link expired or no longer works** | Open the latest invitation or ask the sender for a new invitation. Do not use someone else's link. |
## Protected records and archiving
Completed records belong in a dedicated signing store, not an ordinary editable knowledge store. They include the signed PDF, completion certificate, audit trail, and evidence.
Archiving the store stops new requests from using it but does not prevent already-sent requests from completing. Records remain available to authorized users. Restoring the store allows new requests again. Changing access affects past records too; archiving is not deletion or automatic disposal.
See [Signing-record stores](/documents/settings-and-integrations#signing-record-stores) for restrictions and access guidance.
## Send-time billing and uncertain results
Sending requires active billing, sufficient credit, and compliance with spend limits after human approval and validation. The signing-send charge is per envelope, not per signer. Completing or archiving the request does not create another signing-send charge.
A timeout can occur after payment but before sending is confirmed. Check the current state and retry the **same request** where appropriate; do not create replacement drafts blindly or assume a refund. See [Billing and credits](/platform/billing-and-credits#e-signing).
## Resolve setup problems
* **No signing settings appear:** Add a signing field from **Variables**. A normal answer or blank signature widget alone does not configure e-signing.
* **A signing field has no person assigned:** Select its signing party before publishing, then identify the actual recipient when preparing the request.
* **No signing store is available:** Create one if permitted, or ask an administrator to share an appropriate signing store. You can still save the draft.
* **The selected store is unavailable:** Choose an available destination before publishing. For an already published template, ask your administrator to review the destination's status and access.
* **The request needs review again:** Reopen the current draft and check its latest document, recipients, and fields before approving.
Apply your organization's legal, compliance, and recordkeeping requirements when choosing templates and signing policies. E-signing does not establish whether the document itself is appropriate for your transaction.
# Simple Flow
Source: https://docs.odella.ai/workflow-tutorial/01-simple-flow
Learn how to create and run a simple flow in Odella
1. Open the flows tab in the sidebar
2. Find the `1. Simple Flow` folder
3. Click on the `Simple Flow` flow to open it
You should see a flow that looks like this:

This flow consists of two blocks:
> [card] Text Block
>
> Allows you to input text
> [card] Chat Block
>
> Processes the text using AI
## Running the Flow
1. Find the green run button in the top right corner of the flow
2. Click the button to run the flow

After running, you should see something like this:

When you run the flow, the text block sends its content to the chat block. The chat block then uses AI to process this text and generate a response.
## Experimenting with the Flow
To modify a block's settings, click the edit gear icon in the top right corner of the block.
> [accordion] Try These Experiments
>
> **Change the Question**
>
> 1. Edit the text block
> 2. Type a new question like "What's the difference between a NDA and a MNDA?"
> 3. Run the flow again
> 4. Observe how the chat block responds with new information
>
> **Adjust Max Tokens**
>
> 1. Edit the chat block
> 2. Change the max tokens to 256
> 3. Run the flow again
> 4. Notice how the response is shorter
>
> **Modify Temperature**
>
> 1. Edit the chat block
> 2. Set the temperature to 1
> 3. Run the flow again
> 4. Observe how the responses become more varied
By experimenting with these settings, you can see how different parameters affect the AI's responses in your workflow.
# Build a dynamic prompt
Source: https://docs.odella.ai/workflow-tutorial/02-dynamic-prompting
Combine workflow values into a prompt and collect user input before generating a structured result.
# Build a dynamic prompt
This tutorial shows how to build a prompt from earlier workflow values instead of writing one fixed prompt for every run.
## What you will build
The workflow will:
1. Define task instructions.
2. Collect a document type from the user.
3. Insert that value into a prompt.
4. Ask an AI model to produce a structured outline.
5. Return the result.
## 1. Define the instructions
Add a Text block containing the stable instructions:
```text theme={"system"}
Create a concise outline for the requested document type.
Include the purpose, required information, major sections, and review points.
Do not invent facts that were not provided.
```
Keep durable requirements in this block so they are easy to review and update.
## 2. Collect a value
Add a User Input block and ask:
```text theme={"system"}
Which document type should the outline cover?
```
Name the output `documentType`.
## 3. Assemble the dynamic prompt
Add another Text block with interpolation:
```text theme={"system"}
Document type: {{documentType}}
{{instructions}}
```
Connect the first Text block to `instructions` and the User Input output to `documentType`.
## 4. Generate the result
Add an Ask AI block and connect the assembled text to its prompt input. Choose an approved model and connect the response to a Flow Output block named `outline`.
## 5. Test the workflow
Run the workflow with:
* A common document type
* A vague value
* An empty value
* A value containing punctuation or long text
Confirm that the generated prompt contains the expected values and that missing input is handled before the AI step runs.
## Design guidance
* Keep instructions separate from variable values.
* Use descriptive interpolation names.
* Validate required input before generation.
* Avoid placing secrets or credentials in prompts.
* Return structured output when later steps need to process the result.
See [Text Block](/block-reference/data/text), [User Input](/block-reference/io/user-input), and [Ask AI](/block-reference/ai/ai) for field-level references.
# Route work with conditions
Source: https://docs.odella.ai/workflow-tutorial/03-matching-conditionals
Evaluate workflow input and send it through the correct branch using matching and conditional blocks.
# Route work with conditions
This tutorial builds a simple intake router. Requests with a recognized priority follow the correct branch; unknown values are sent for review.
## What you will build
The workflow accepts a text value named `priority` and produces one of three outcomes:
* `urgent` → immediate-review branch
* `standard` → normal-processing branch
* anything else → manual-triage branch
## 1. Add the input
Add a Flow Input block with a text field named `priority`.
## 2. Normalize the value
If values can arrive with inconsistent capitalization or whitespace, normalize them before matching. You can use a Code block or another transformation appropriate to your workflow.
## 3. Add matching logic
Add a Match block and connect `priority` to its test input. Define patterns for the supported values:
| Pattern | Branch |
| - | - |
| `^urgent$` | Immediate review |
| `^standard$` | Normal processing |
Use anchored patterns so values such as `not-urgent` do not match accidentally.
## 4. Handle the fallback
Connect the unmatched output to a manual-triage branch. A production workflow should define what happens when input is missing, unsupported, or ambiguous rather than silently discarding it.
## 5. Add branch outputs
Add a Text block to each branch:
* Immediate review: `Route to the priority review queue.`
* Normal processing: `Continue through the standard process.`
* Manual triage: `Request a valid priority or send for human review.`
Connect the branches to a Flow Output block.
## 6. Test every path
Run the workflow with:
* `urgent`
* `standard`
* `URGENT`
* an empty value
* an unsupported value
* a value that contains the expected word but should not match
Confirm that each input follows exactly one intended path.
## Matching or a boolean condition?
Use a Match block when routing text against patterns. Use If/Else or Switch when a previous step already produces a boolean value.
See [Match](/block-reference/logic/match), [If/Else](/block-reference/logic/if-else), and [Switch](/block-reference/logic/switch) for complete field references.
> [!WARNING]
>
> Do not use generated text as the sole basis for high-impact decisions. Add deterministic validation and human approval where the process requires judgment or authorization.
# Build a reusable subflow
Source: https://docs.odella.ai/workflow-tutorial/04-subflows
Move repeated workflow logic into a reusable subflow and call it from a parent flow.
# Build a reusable subflow
In this tutorial, you will move a repeated transformation into a subflow, define its interface, and use it from a parent flow.
## Before you begin
Create or choose a workflow with a small sequence you expect to reuse. A good example is normalizing a text value before other steps process it.
## 1. Create the subflow
**1. Add a subflow**
Create a new subflow and give it a name that describes its outcome, such as **Normalize request text**.
**2. Define the input**
Add a Flow Input block and configure a text input named `request`.
**3. Add the reusable logic**
Add the blocks that transform or validate the input. Keep the subflow focused on one responsibility.
**4. Define the output**
Add a Flow Output block named `normalizedRequest` and connect the final value.
## 2. Call it from the parent flow
1. Return to the parent flow.
2. Add a Subflow block.
3. Select **Normalize request text**.
4. Connect the parent value to `request`.
5. Connect `normalizedRequest` to the next parent block.
## 3. Test the interface
Run the parent flow with:
* A normal value
* Empty or missing text
* Unexpected whitespace or formatting
* A value at the expected maximum size
Open the subflow's run details to confirm that the input, internal steps, and output behave as expected.
## Design guidance
* Give inputs and outputs business-meaningful names.
* Keep one clear responsibility per subflow.
* Avoid hidden dependencies on parent-flow state.
* Document expected input types and failure behavior.
* Retest parent workflows after changing a shared subflow.
See [Subflows](/workflow/subflows) for the complete concept reference.
# Batching
Source: https://docs.odella.ai/workflow-tutorial/05-batching
Learn how to process multiple inputs efficiently in Odella
> [!NOTE]
>
> Batching allows you to process multiple inputs efficiently in Odella. This is particularly useful when you need to apply the same operation to a list of items.
## Understanding Batching
Batching in Odella refers to the process of applying an operation to multiple inputs in sequence or parallel. Let's explore this concept using the Ask AI node as an example.
1. Open the "6. Batching" folder in the Odella interface.
2. Locate the flow that demonstrates batching with the Ask AI node.
## Using the Ask AI Node for Batching
The Ask AI block demonstrates batching by applying the same prompt to a list of inputs.

### Setting Up the Batch
1. Create an array of inputs you want to process.
2. Connect this array to the Ask AI node.
3. Enable "split mode" on the Ask AI node.
> [!TIP]
>
> The split mode icon (usually represented by two overlapping squares) should be visible next to the node title when enabled.
### Configuring Split Mode
You can configure split mode with two main options:
* **Max**: Specifies the maximum number of iterations.
* **Sequential**: Determines whether to process items one at a time or in parallel.

## Running the Batch
When you run the flow:
1. The Ask AI node will process each input in the array.
2. You'll get an output for each input.

## Combining Results
After processing, you might want to combine the results:
1. Use a Text node with split mode turned off.
2. Connect the output array from the Ask AI node to this Text node.
3. The Text node will automatically concatenate the results.
> [!TIP]
>
> For more control over how results are combined, consider using the Join node.
By using batching, you can efficiently process multiple inputs, saving time and resources in your Odella workflows.
# Process a list with a loop
Source: https://docs.odella.ai/workflow-tutorial/06-loops
Iterate over a collection, process each item, and stop a workflow loop safely.
# Process a list with a loop
In this tutorial, you will process each item in a list and return the collected results.
## 1. Prepare the input
Create an Array block with several representative values, such as document names or request IDs. Connect it to the loop input.
## 2. Add the loop
**1. Create the loop body**
Add the block or subflow that should run once for each item.
**2. Use the current item**
Connect the loop's current-item output to the processing step.
**3. Collect the result**
Connect the processed value to the loop's result collection.
**4. Set a safe limit**
Configure a maximum iteration count that matches the largest expected input. This prevents an unexpected condition from running indefinitely.
## 3. Test the loop
Run the workflow with:
* An empty list
* One item
* Several valid items
* An invalid item in the middle of the list
* A list larger than the configured iteration limit
Confirm whether an item failure should stop the whole workflow or be recorded and allow remaining items to continue.
## Loops or batching?
| Use | Best when |
| - | - |
| **Loop** | Items must run in sequence, later steps depend on earlier results, or the process needs an explicit stop condition. |
| **Batching** | Items are independent and can run concurrently. |
See [Loops](/workflow/loops) and [Batching](/workflow/batching) for detailed guidance.
> [!WARNING]
>
> Always set a clear completion condition and maximum iteration count. Test failure behavior before publishing the workflow.
# Batching
Source: https://docs.odella.ai/workflow/batching
Process independent workflow items concurrently and handle their collected results safely.
# Process independent items concurrently
Batching runs the same block once for each item in a collection. Use it when items are independent and can be processed concurrently.

## When to use batching
Good candidates include:
* Extracting the same fields from multiple documents
* Classifying a list of requests
* Applying one validation to every record
* Creating a draft result for each independent item
Use a loop instead when items must run in sequence, share mutable state, or depend on the previous result.
## Enable batching
**1. Provide a collection**
Connect an array or table containing the items to process.
**2. Select the processing block**
Open the block's settings and enable batching where supported.
**3. Configure the item input**
Confirm which value from the collection is passed to each block execution.
**4. Handle collected output**
A batched block returns a collection of results. Connect it only to downstream blocks that can handle that type.
**5. Test a small batch**
Verify ordering, result shape, and failure behavior before increasing volume.

## Result handling
Decide how the workflow should behave when one item fails:
* Stop the full run
* Return successful and failed items separately
* Retry eligible failures
* Send failures for human review
Do not treat a partially successful batch as fully complete unless the downstream process explicitly supports that outcome.
## Capacity and external systems
Concurrent work can increase load on models and connected applications. Consider:
* Provider rate limits
* API quotas
* File and payload size
* Duplicate writes
* Ordering requirements
* Downstream concurrency limits
* Usage-based charges
Start with a small representative batch and increase volume only after observing reliable behavior.
## Limitations
Nested batching is not supported. If a process needs multiple layers of collection handling, simplify the data shape, use a subflow, or process one layer sequentially.
## Batching checklist
* Items are independent.
* Input is an array or compatible collection.
* Downstream blocks expect a collection.
* Partial failures have a defined outcome.
* External rate limits are understood.
* Duplicate external actions are prevented.
* Representative volume has been tested.
See [Batching tutorial](/workflow-tutorial/05-batching) for a guided example.
# Blocks
Source: https://docs.odella.ai/workflow/blocks
Add, connect, configure, group, and remove blocks on the Odella workflow canvas.
Blocks are the individual steps in a workflow. Each block accepts defined inputs, performs one operation, and returns outputs for downstream steps.
## Adding a Block
To add a block, right-click in any empty space on the flow canvas (or press **Space**) to open the **Add Menu**.

> [card] Search & Select
>
> Start typing to quickly find the block you need in the menu.
> [card] Organised by Category
>
> Blocks are grouped by category for easy browsing. Select a block to place it at the location you right-clicked.
For details on all available blocks, check out the [Block Reference](/block-reference/all-blocks).
## Moving Blocks
To reposition blocks:
* **Drag & Drop**: Click and hold the title bar of a block, then drag it to your desired position.
* **Multi-Select**: Hold **Shift** and click on multiple blocks to move them as a group.

## Deleting Blocks
Right-click on a block and select **Delete** to remove it from the flow.

Deleting a block cannot be undone. Confirm that downstream connections are no longer required before removing it.
## Connecting Blocks

Connections define the data flow between blocks. Here's how to link them:
> [card] Create Connections
>
> Click and drag from an output port on one block to an input port on another. Outputs are on the right side, inputs are on the left.
> [card] Port Rules
>
> Outputs can connect to multiple inputs, but each input can only connect to one output. Ensure data types match for smooth operation.
For more details on port data types, refer to the [Block Reference](/block-reference/all-blocks).
## Disconnecting Blocks
To adjust a connection:
* **Move Connection**: Click and drag on a connected port to change the connection to a different port.
* **Delete Connection**: Drag the connection line to an empty space to remove it.
## Creating a Subflow

Subflows allow you to group blocks for cleaner, more manageable workflows.
**1. Select Blocks**
Hold **Shift** and click on each block you want to include in the subflow.
**2. Create Subflow**
Right-click one of the selected blocks and choose **Create Subflow**. This action moves the selected blocks into a new, unsaved flow, complete with input and output blocks that link back to the main flow.
> [!TIP]
>
> Name and describe your subflow in the flow info section to keep it organized. Don't forget to save with **CMD+S** or **CTRL+S**.
> [!NOTE]
>
> The original blocks in the parent flow remain in place, so you'll need to manually replace them with your subflow if desired.
## Editing a Block

To customize a block, click the gear icon in the top-right corner. This opens the **Block Editor**.
> [card] Edit Block Details
>
> Adjust the block's title and description for clear documentation.
> [card] Fine-Tune Settings
>
> Modify settings specific to the block type, such as batch processing or variant options.
# Control Flow
Source: https://docs.odella.ai/workflow/control-flow
Understand how data moves through your Odella workflows
Control flow in Odella determines how data moves through your workflow and how different parts of your workflow are executed.
## How Odella Processes Your Workflow
Odella processes your workflow in two main steps:
### Step 1: Planning the Workflow
> [card] Mapping the Journey
>
> Odella first looks at your entire workflow to understand how all the blocks are connected. It identifies where data enters your workflow (input blocks) and where it ends up (output blocks).
### Step 2: Executing the Workflow
> [card] Running the Process
>
> Odella then starts running your workflow, beginning with the input blocks. It processes multiple blocks at the same time when possible, making your workflow efficient.
## Special Situations in Your Workflow
### Skipping Parts of Your Workflow
Sometimes, parts of your workflow might be skipped based on certain conditions. This is called "control flow exclusion".
For example, if you have an "If" block in your workflow, and the condition isn't met, the blocks connected to the "false" path won't run. This helps your workflow make decisions and only execute the relevant parts.
### Handling Skipped Sections
Some special blocks in Odella can work with these skipped sections:
> [card] If/Else Block
>
> Chooses between two paths based on a condition.
> [card] Coalesce Block
>
> Picks the first available value from multiple options.
> [card] Race Inputs Block
>
> Uses the first result that becomes available.
> [card] Output Block
>
> Sends results out of your workflow.
### Loops in Your Workflow
> [card] Loop Controller
>
> This special block allows parts of your workflow to repeat. It's designed to handle skipped sections carefully, ensuring your loop works as expected.
> [!TIP]
>
> When using loops, it's a good idea to include checks (like an If/Else block) to make sure your loop doesn't unexpectedly stop due to skipped sections.
Use these controls to make execution paths explicit and test every possible outcome before publishing.
# Data Types
Source: https://docs.odella.ai/workflow/data-types
A comprehensive guide to data types used in workflows
| Type | Description | TypeScript Equivalent | Notes |
| - | - | - | - |
| `any` | Can store any type of data | `unknown` | Use sparingly; Odella attempts to infer or coerce to a specific type when possible |
| `boolean` | True or false value | `boolean` | Equivalent to JavaScript boolean |
| `string` | Text data | `string` | Equivalent to JavaScript string |
| `number` | Numeric value | `number` | Equivalent to JavaScript number |
| `date` | Date value | `string` | Stored as ISO-8601 date string |
| `time` | Time value | `string` | Stored as ISO-8601 time string |
| `datetime` | Date and time value | `string` | Stored as ISO-8601 datetime string |
| `chat-message` | Representation of a chat message for LLMs | `{ type: string; message: string; name?: string; function_call?: string }` | Includes metadata such as sender information |
| `object` | Complex data structure | `Record` | Similar to JavaScript object; may sometimes be used interchangeably with `any` or represent an array |
| `control-flow-excluded` | Value excluded from control flow | `undefined` | Used in specific control flow scenarios |
| `vector` | Numeric vector | `number[]` | Commonly used for embeddings in machine learning contexts |
| `image` | Image data | `{ mediaType: string; data: UInt8Array; }` | Includes media type information |
| `audio` | Audio data | `{ mediaType: string; data: UInt8Array; }` | Includes media type information |
| `binary` | Raw binary data | `UInt8Array` | Used for handling binary file contents or other raw data |
When integrating with Odella, ensure you handle these data types correctly to maintain data integrity and workflow functionality.
# Workflow Interface
Source: https://docs.odella.ai/workflow/interface
Navigate the workflow canvas, panels, controls, settings, and execution tools.
## Key Interface Components
The workflow interface brings the canvas, block library, run controls, and configuration panels into one workspace.
> [card] Sidebar
>
> Navigate between projects, flows, and access essential configuration options.
> [card] Flow Canvas
>
> The main workspace where you design and visualize a workflow.
> [card] Block Editor
>
> Customise individual blocks to fine-tune your workflow's behavior.
> [card] Action Bar
>
> Control the execution of your workflows and access additional features.
## Saving Your Work
Save draft changes before leaving the workflow or sharing it with another editor.

> [card] Save Before Running
>
> Odella automatically saves your work before you run a workflow, ensuring your changes are always protected when executing your flows.
> [card] Manual Save
>
> Manually save your work at any time by pressing Ctrl+S (Windows) or Cmd+S (Mac).
It's a good practice to manually save your work after making significant changes to your workflow.
### Save Indicators
Odella provides visual indicators to show the save status of your work:
* A green checkmark indicates that all changes have been saved.
* A spinning icon indicates that changes are being saved.
* A red exclamation mark indicates that there are unsaved changes.
> [!TIP]
>
> Always ensure your work is saved before closing the browser or logging out. If you see the red exclamation mark, make sure to manually save your changes.
## Sidebar
The sidebar is your central navigation hub, offering quick access to project information, flows, and flow-specific details.

### General Tab
The General tab allows you to set basic information about your workflow:
* **Workflow Name**: Set a clear, descriptive name for your workflow.
* **Workflow Description**: Provide a concise overview of your workflow's purpose and scope.
> [!TIP]
>
> A well-documented project makes collaboration easier and helps you quickly identify the right workflow when you need it.
### Flows Tab
The Flows tab is where you manage your workflow components:
* **Main Flow**: The primary, undeletable flow of your workflow.
* **Flow Explorer**: Click on any flow to view and edit it.
* **Add Flow**: Click the "+" icon to create a new flow.
* **Rename Flow**: Use the pencil icon to edit a flow's name and description.
* **Delete Flow**: Remove a flow with the trash icon. Note: This action is irreversible.
Use this tab to organize and structure your legal workflow efficiently.
Deleting a flow is permanent and cannot be undone. Always ensure you have a backup of your workflow before making significant changes.
### Plugins Tab
The Plugins tab allows you to integrate external services and extend the functionality of your workflows:
Currently available plugins include:
* **G-Mail**: Draft, send and search for e-mails in your workflows using G-Mail.
* **Hubspot**: Search your Hubspot CRM for contacts and companies.
* **Google Drive**: Access files in your Google Drive for use in our template builder and within your workflows.
> [!TIP]
>
> Connected applications add provider-specific operations to the workflow builder.
### Builder Tab
The Builder tab provides settings to customize your workflow environment:
* **Previous data per node to keep**: Set the number of previous data values to retain for each node. This helps in tracking the history of node operations.
* **Zoom sensitivity**: Adjust the sensitivity of zooming when using the mouse wheel. Move the slider towards "Slow" for finer control or "Fast" for quicker zooming.
> [!TIP]
>
> Experiment with these settings to find the optimal configuration for your workflow management style. Adjusting the zoom sensitivity can greatly improve your navigation experience on the canvas.
### Delete Workflow
The Delete Workflow tab allows you to permanently remove a workflow and all its associated data:
To delete a workflow:
1. Click the **"Delete workflow"** button in the sidebar to open the deletion interface.
2. To prevent accidental deletions, you must **type the exact name** of the workflow you wish to delete in the text field (e.g., "Delete New test workflow").
3. The delete button will become **active** once the correct name is entered.
4. Click the **"Delete New test workflow"** button to permanently remove the workflow.
**Deleting a workflow is irreversible.** Ensure you have backups of any important data before proceeding with deletion.
## Flow Canvas

Use the Flow Canvas to arrange, connect, and inspect the steps in a workflow:
* **Pan**: Click and drag to move around the canvas.
* **Zoom**: Use the scroll wheel to zoom in and out.
* **Add Blocks**: Right-click to open the context menu and add new blocks.
* **Select Multiple Blocks**: Hold Shift and drag to create a selection box, or Shift-click block title bars.
* **Group Operations**: Move selected blocks as a group or create subflows from selections.
## Block Editor

Customise your workflow blocks with the Block Editor:
> [card] Block Details
>
> Edit block titles and descriptions for clear documentation.
> [card] Batching
>
> Enable batch processing and set maximum batch amounts for efficiency.
> [card] Variants
>
> Create and switch between different versions of a block to test variations.
> [card] Block-Specific Editors
>
> Access specialized editors tailored to each block type.
## Action Bar
Control your workflow execution and access additional features:

> [card] Run
>
> Start executing the current flow.
> [card] Abort
>
> Immediately stop the running flow.
> [card] Pause/Resume
>
> Temporarily halt or continue flow execution.
> [card] Settings
>
> Access additional Odella features and settings.
> [!TIP]
>
> Experiment with different components of the interface to find the most efficient workflow for your legal tasks. The flexibility of Odella's interface allows you to tailor your experience to your specific needs.
# Live Debugging
Source: https://docs.odella.ai/workflow/live-debugging
Learn how to debug your workflows in real-time using Odella's live debugging features
Live debugging lets you inspect each block's status and output during a workflow run. Use it to find the first step where actual behavior differs from the expected result.

## Inspecting Block Outputs
As your workflow runs, you can view the output of each block in real-time. This output appears directly beneath each block in the flow, providing immediate visibility into the data flowing through your workflow.
## Interface Elements
> [card] Currently Executing Blocks
>
> Blocks that are currently executing are highlighted in purple, making it easy to track the progress of your workflow.
> [card] Execution Picker
>
> When a block runs multiple times, a numeric picker appears above the block's output, allowing you to view results of each execution separately.
> [card] Flow Execution Indicator
>
> A spinner appears next to the flow name in the Flows list when a flow is running, including subflows.
### Currently Executing Blocks
Blocks that are currently executing are highlighted in orange, making it easy to track the progress of your workflow. For certain blocks, such as those involving LLMs, you can hover over the block to see partial outputs as they stream in.
### Execution Picker
When a block runs multiple times (e.g., in a loop or a subflow called multiple times), a numeric picker appears above the block's output. This allows you to view the results of each execution separately.
### Flow Execution Indicator
When a flow is running, including subflows, a spinner appears next to the flow name in the Flows list. Clicking on a flow allows you to view its current state and executing blocks.
## Debugging Controls
> [card] Pausing Execution
>
> Pause the current execution to examine the flow's state without stopping it completely.
> [card] Aborting Execution
>
> Stop the execution entirely when needed.
### Pausing Execution
To pause the current execution, click the **Pause** button in the top right corner. This allows you to examine the current state of the flow without completely stopping it.
### Aborting Execution
If you need to stop the execution entirely, click the **Abort** button in the top right corner.
> [!TIP]
>
> By utilizing these live debugging features, you can gain deep insights into your workflow's behavior, making it easier to develop, test, and refine your AI-powered legal processes.
# Loops
Source: https://docs.odella.ai/workflow/loops
Using loops in Odella workflows
Loops repeat a defined set of workflow steps. Use them when items must be processed sequentially or execution depends on an explicit completion condition.
## What is a Loop?
A loop repeats a set of actions until a specific condition is met—similar to saying, "Keep doing this until I say stop."
### Simple Loop Example
The simplest loop in Odella repeats actions until a stopping point is specified.
> [!TIP]
>
> Always connect an Output block to the 'Break' part of the loop to provide it with a clear stopping point.
## The Loop Controller

The loop controller is the "brain" of your loop, managing how it operates. It’s the only block that can contain cycles of blocks, directing the flow of information through your loop.
### Key Parts of the Loop Controller
> [card] Continue
>
> Controls whether the loop continues or stops, using a true/false value.
> [card] Input Pairs
>
> These are values that update with each cycle. Each pair has an input and an optional default input.
The default input provides an initial value, while the main input updates each cycle.
### Outputs in the Loop Controller
For each input pair (except 'Continue'), there’s an output. The first cycle uses the default value, while following cycles use the last output.
## Example: Loop in Action
Imagine a simple loop changing values 'A' and 'B'. In each cycle, 'A' and 'B' are updated, performing calculations or actions until a stop condition is met.
> [!WARNING]
>
> Be sure to add a stopping condition to avoid an endless loop. Odella will automatically stop the loop if a maximum iteration count is reached.
## Practical Uses for Loops
### Adding Items to a List
Loops can add items to a list, ideal for gathering information across multiple steps.
The Array Block is set to Flatten by default, making it easy to add new items with each cycle of the loop.
# Workflow overview
Source: https://docs.odella.ai/workflow/overview
Build, test, publish, and govern repeatable processes used by your team and AI Employees.
# Build repeatable business processes
Workflows turn a business process into connected steps. They can collect input, transform data, apply logic, use AI, interact with connected applications, create documents, and return structured output.
## When to use a workflow
Use a workflow when work has a repeatable sequence, known inputs, and an expected outcome. Good candidates include:
* Intake and validation
* Document review and drafting
* Data extraction and classification
* Recurring reports
* Approval and routing processes
* Updates across connected applications
Do not begin with a workflow when ownership, decision criteria, or the expected result are still unclear.
## Workflow lifecycle
**1. Define the outcome**
Identify the trigger, required inputs, expected output, process owner, and review criteria.
**2. Build the process**
Add blocks for input, data handling, AI work, control flow, connected applications, and output.
**3. Test representative cases**
Include normal inputs, missing data, invalid values, and conditions that follow different branches.
**4. Review permissions and failure paths**
Confirm what the workflow can read or change, where approval is required, and how errors are handled.
**5. Publish**
Publish only after the tested output meets the process owner's acceptance criteria.
**6. Monitor and improve**
Review runs, investigate failures, and update the workflow when the business process changes.
## Create a workflow
Select **New Workflow**, then choose a starting method:
| Method | Use it when |
| - | - |
| **Start Blank** | You are designing a new process. |
| **Clone Existing** | A current workflow is a close match and should be adapted. |
| **From Marketplace** | A published workflow provides a suitable starting point. |
Give the workflow a specific name and description. A good description states when the workflow should run and what result it produces.
## Workflow canvas
The canvas is the visual workspace for assembling a process.
* Add blocks from the block library.
* Connect output ports to compatible input ports.
* Edit each block's settings.
* Group reusable logic into subflows.
* Run the workflow and inspect each block's output.
* Save draft changes and publish when ready.
> [card] [Interface](/workflow/interface)
>
> Learn the canvas, panels, controls, and workflow settings.
> [card] [Blocks](/workflow/blocks)
>
> Add, connect, configure, and manage workflow blocks.
> [card] [Control flow](/workflow/control-flow)
>
> Add branching, matching, waiting, and other execution logic.
> [card] [Live debugging](/workflow/live-debugging)
>
> Inspect a run and diagnose unexpected results.
## Connect workflows to workers
Publish the workflow, then add it to the appropriate worker from the worker's capabilities. Clear names and descriptions help workers select the correct workflow for delegated work.
See [Workforce workflows](/workforce/workflows) for assignment guidance.
## Production checklist
Before publishing a workflow used for business-critical work, verify:
* Inputs are validated.
* Sensitive values are handled appropriately.
* Connected applications use the minimum required permissions.
* Write, send, and destructive steps have suitable approval controls.
* Errors and partial failures have a defined outcome.
* Outputs have an owner and review process.
* Representative test cases pass.
* The workflow name, description, and version history are understandable to another administrator.
> [!WARNING]
>
> A successful test run does not remove the need for human review. Keep people in control wherever the process requires judgment, authorization, or accountability.
# Connected applications in workflows
Source: https://docs.odella.ai/workflow/plugins
Use connected workplace applications in workflows with controlled access, testing, and approval.
# Use connected applications in workflows
Connected applications add provider-specific blocks and actions to the workflow builder. Use them to read business data, create or update records, send approved messages, and connect Odella processes with other systems.
A connected application has two separate concerns:
1. **Workspace connection** — authenticates Odella to the application.
2. **Workflow use** — adds and configures an application block in a specific process.
## Before adding an application block
Confirm that:
* The application is connected to the correct organizational account.
* Granted permissions match the intended process.
* The workflow owner is authorized to use the data and action.
* Approval is required before sensitive writes, sends, or destructive actions.
See [Integrations](/integrations/overview) for workspace connection guidance.
## Add an application block
**1. Open the block library**
On the workflow canvas, open the Add menu and find the connected application.
**2. Choose an operation**
Select the specific read or action block required by the process.
**3. Configure inputs**
Connect validated values from earlier blocks. Do not place credentials directly in workflow text or code.
**4. Handle the response**
Connect success output to the next step and define what should happen when the application returns an error or incomplete data.
**5. Test safely**
Begin with a sandbox, test record, draft action, or read-only operation where the provider supports it.
## Read and write operations
| Operation | Review guidance |
| - | - |
| **Read** | Limit queries to the records and fields the workflow needs. |
| **Create** | Validate required values and prevent accidental duplicates. |
| **Update** | Confirm the target record and preserve fields the workflow does not own. |
| **Send** | Review recipient, channel, content, and approval requirements. |
| **Delete** | Require explicit authorization and define recovery or escalation steps. |
## Connection changes
If an account is disconnected, expires, or loses permission, dependent workflows can fail. Document the connection owner and test affected workflows after reconnecting or changing credentials.
## Production checklist
* Correct application account connected
* Minimum required permission granted
* Test data removed or clearly separated
* Input validation configured
* Duplicate prevention considered
* Error and retry behavior understood
* Human approval present where required
* Logs do not expose secrets or sensitive values
> [!WARNING]
>
> A successful connection does not make every operation appropriate. Apply your organization's authorization, data-handling, and review requirements to each workflow step.
# Subflows
Source: https://docs.odella.ai/workflow/subflows
Learn how to create and use subflows to build modular and reusable components in your workflows
Subflows are like building blocks that you can use to create larger, more complex workflows. They help you organize your work and make it easier to manage.
## What are Subflows?
Subflows are smaller workflows that you can use within larger workflows. Think of them as mini-processes that you can reuse in different parts of your main workflow.
> [card] Main Flow
>
> Every workflow must have a main flow. This is the primary process that orchestrates all the other parts of your workflow.
## How Subflows Work

1. You create a subflow as a separate, smaller workflow.
2. You can then use this subflow in your main workflow or other larger workflows.
3. When a subflow is used, it receives information (inputs) from the main workflow.
4. After the subflow completes its task, it sends back results (outputs) to the main workflow.
> [card] Inputs
>
> Information that the subflow needs to do its job, provided by the main workflow.
> [card] Outputs
>
> Results or processed information that the subflow sends back to the main workflow.
## Benefits of Using Subflows
> [card] Reusability
>
> Create a subflow once and use it in multiple places across your workflows.
> [card] Simplicity
>
> Break down complex processes into smaller, more manageable parts.
> [card] Organization
>
> Keep your workflows neat and tidy by grouping related tasks into subflows.
By using subflows, you can build more efficient and organized workflows, making your legal processes smoother and easier to manage.
# Manage workflows
Source: https://docs.odella.ai/workflow/working-with-flows
Create, run, test, publish, and remove workflows while keeping their interfaces and ownership clear.
# Manage workflows
A workflow is a directed graph of connected blocks. Each block waits for its required inputs, performs one operation, and passes output to downstream blocks. Independent branches can run concurrently.
## Create a workflow

**1. Select New Workflow**
Open Workflows and select **New Workflow**.
**2. Choose a starting point**
Start blank, clone an existing workflow, or use a Marketplace workflow.
**3. Name the workflow**
Use an outcome-focused name and describe when the workflow should run and what it returns.
**4. Build on the canvas**
Add blocks, connect compatible ports, and configure each step.
## Define inputs and outputs
A reusable workflow should have an explicit interface.
> [card] [Flow Input](/block-reference/io/graph-input)
>
> Define each value required to start the workflow, including its name, type, and default where appropriate.
> [card] [Flow Output](/block-reference/io/graph-output)
>
> Define the values returned to the caller when the workflow completes.
Use business-meaningful names and validate required values before expensive or irreversible steps run.
## Run and inspect a workflow

Select **Run**, provide any required input, and follow execution on the canvas. Inspect block outputs to identify where actual behavior first differs from the expected result.
Test at least:
* A normal case
* Missing required input
* Invalid input
* Boundary values
* Every conditional branch
* A connected-application failure
* A partial batch failure, when applicable
See [Live debugging](/workflow/live-debugging) for run inspection.
## Save and publish
Saving preserves draft changes. Publishing makes the tested version available for production use and worker assignment.
Before publishing:
1. Confirm the workflow owner and intended callers.
2. Review inputs, outputs, permissions, and approvals.
3. Test representative and failure cases.
4. Confirm that the name and description match actual behavior.
5. Document important assumptions with Comment blocks.
## Update a published workflow
Treat changes to inputs, outputs, connected applications, and shared subflows as compatibility changes. Identify dependent workers and workflows, test them against the update, and communicate material behavior changes to process owners.
## Delete a workflow

> [!WARNING]
>
> Deleting a workflow is permanent. Before deletion, remove or replace references from workers, actions, schedules, and other workflows.
Open the workflow settings, select **Delete Workflow**, and complete the confirmation step.
## Maintenance practices
* Keep one clear business outcome per workflow.
* Use subflows for logic that is genuinely reused.
* Avoid granting broader application access than the process requires.
* Keep human approval before high-impact external actions.
* Review failed runs and stale workflows regularly.
* Retest when application schemas or business rules change.
# Actions
Source: https://docs.odella.ai/workforce/actions
Configure event-driven and scheduled work, test safely, and inspect the tasks each Action starts.
# Run work from events and schedules
Actions tell an AI Employee what to do when a connected service reports an event or a configured time arrives. The worker's Actions view brings together the available automation definitions; [Calendar](/workforce/calendar) provides a time-based view of scheduled work.
An Action defines **when and why** work starts. A [task](/workforce/tasks) records a particular piece of work that runs as a result. A [workflow](/workforce/workflows) defines repeatable steps the work may use.
## Before you begin
* Make sure you can manage the worker's automations and recurring work.
* Connect the provider and grant only the tools and knowledge the work needs.
* Check the worker's active state, working hours, and timezone.
* Review outbound and tool approval policies before enabling unattended work.
Use the controls available in your account. If an Action or provider option is unavailable, check access, connection state, and current account availability.
## Create an event Action
**1. Open Actions**
Open the worker's **Actions** area and start a new Action.
**2. Choose the service and trigger**
Select the connected provider and the event to watch. Complete its
provider-specific fields, such as the relevant folder, mailbox, or record
scope.
**3. Filter the events**
Add conditions so only relevant events start work. Use a narrow test case
before broadening the criteria.
**4. Write the work instructions**
Describe the expected outcome, approved inputs, output destination, and
escalation requirements. Choose one-shot or recurring behavior where
offered.
**5. Save and enable intentionally**
Review the configuration and enabled state. A saved or staged Action is not
necessarily active. Confirm the provider connection and worker availability
before expecting automatic work.
**6. Test and inspect the run**
Produce a safe matching event, or use the available run/test control where
appropriate. Open the resulting task and Activity to confirm the event was
handled as intended.
## Example: review a new supplier file
1. Connect the approved storage provider and select the supplier-upload folder.
2. Choose its new-file event and filter to the intended file types or scope.
3. Instruct the worker to summarize the file, identify missing purchasing details, and return a draft review.
4. Require human approval before external messages or changes.
5. Enable the Action and add one harmless test file.
6. Confirm the task used the correct file and returned a review, not an unsolicited supplier message.
## One-shot, recurring, and scheduled work
* **One-shot** work is intended for a single occurrence; inspect the resulting state before expecting it to repeat.
* **Recurring** work continues according to its event or schedule configuration while enabled and eligible.
* **Time Actions** can be managed from Calendar. Review the Action's actual timezone; a worker's location or your browser clock is not enough to establish the intended schedule.
* **Run now**, where offered, starts work outside the normal trigger timing. Check for a pending or previous run before using it again.
Turning an Action off prevents future automatic starts under that definition. It does not undo external changes or prove that an already-started task was cancelled.
## Monitor and troubleshoot
Open an Action's details/history and the associated Tasks to see what happened.
| Symptom | Check |
| - | - |
| **No run appears** | Enabled state, connected provider, trigger scope, filters, schedule/timezone, and worker availability. |
| **Provider is disconnected** | Reauthorize the correct account before expecting new events. |
| **Action is rate-limited or disabled** | Read the reported reason and resolve it before re-enabling. |
| **Task is waiting** | Answer its question or resolve its current approval. |
| **Run failed or was interrupted** | Inspect completed side effects before retrying the same work. |
| **Worker is off** | Restore availability only when intended; do not assume missed events will all replay. |
> [!WARNING]
>
> Test delivery and recovery with your actual provider. Do not assume every
> event is delivered exactly once or that every missed event is automatically
> replayed. Use explicit review for sends, writes, and destructive actions.
# Activity Log
Source: https://docs.odella.ai/workforce/activity
Review recent worker activity, task runs, workflows, conversations, and system events.
**Activity Log** is a live feed of what a worker has been doing. Use it to audit work, troubleshoot issues, and confirm that scheduled or event-driven tasks ran as expected.
## Activity filters
| Filter | Shows |
| - | - |
| **All** | Every recorded activity type. |
| **Threads** | Conversations and message threads. |
| **Workflows** | Workflow runs. |
| **Heartbeats** | Service-status checks recorded by the platform. |
| **Tasks** | Scheduled tasks and event-triggered tasks. |
| **Subagents** | Work delegated to supporting workers during a task. |
## What to look for
Use Activity to answer questions like:
* Did the worker receive a message?
* Did a scheduled task run?
* Did an event action trigger?
* Which workflow did the worker use?
* Is the worker running normally?
* Did the worker delegate work to a subagent?
## Troubleshooting with Activity
If a worker did not behave as expected:
1. Filter to the relevant activity type.
2. Check whether the event, task, or conversation was recorded.
3. Confirm the worker was active at the time.
4. Review connected skills, applications, and tool approval settings.
5. Check Calendar or Actions if the work should have started automatically.
> [!TIP]
>
> Activity is especially useful after changing schedules, actions, inboxes, or security settings. It gives you a quick way to confirm the worker is operating as intended.
# Approvals
Source: https://docs.odella.ai/workforce/approvals
Review proposed actions, approve once, manage saved exceptions, and resolve blocked work safely.
# Review work before it takes effect
Approvals let a person review a proposed action before an AI Employee proceeds. The worker's [Security & Privacy policy](/workforce/settings-security-privacy), the action type, and account rules determine when review is required.
Requests can appear in chat, task details, or an approval link delivered through a supported channel. Treat approval links as private.
## Review an approval
**1. Open the current request**
Follow the approval card or link. Confirm the worker and task are the ones
you expect. Read the remaining time or status, if shown.
**2. Inspect the action**
Check the affected application, recipients, data, files, and proposed
changes. For messages, inspect To, Cc, Bcc, body, and attachments. For
destructive operations, confirm exactly what will be removed.
**3. Choose the available decision**
Approve this action once, deny it, or save an eligible exception only when
you intend to permit future matching actions.
**4. Check the result**
Return to the task or conversation. Approval authorizes the action; it does
not guarantee the external service will complete it successfully.

An email approval with sample recipients and an attachment, rendered from Storybook.
## Choose once, always, or deny
| Decision | Use it when |
| - | - |
| **Approve once / Send once** | This specific proposed action is correct. Future actions still follow policy. |
| **Always allow** | You deliberately want to save the offered exception for future eligible actions. Review its scope before confirming. |
| **Deny / Don't send** | The action should not proceed. Give corrected instructions separately if needed. |
Button wording varies with the action. **Always allow is not available for every request** and may require signing in to review the saved rule. Signing invitations require one-time review rather than a reusable signing-send exception.
> [!WARNING]
>
> Do not approve unfamiliar recipients, unexpected attachments, or a changed
> document based only on the worker's summary. Inspect the actual proposal.
## Saved exceptions
Saved recipient and tool rules appear in the worker's **Security & Privacy** settings. An authorized person can remove an exception to return future actions to the default policy. A saved rule is not a grant of access to an application or resource the worker cannot otherwise use.
Prefer one-time approval while testing a new process. Save narrow exceptions only after confirming the repeated action is appropriate.
## When a request cannot be approved
* **Expired or already resolved:** Return to the task and check its current state. Use a fresh request rather than an old link.
* **Document changed:** Review the latest version and its recipients. Earlier approval does not authorize a different signing draft.
* **Preview is loading or unavailable:** Wait or retry. Some actions remain unavailable for approval until their review material is ready; denial can still be offered.
* **Permission denied:** Sign in with the intended account and ask the appropriate manager to review access.
* **Approved, but task still failed:** Inspect the execution error. Provider permissions, invalid data, or insufficient credit can still prevent completion.
For signing-specific review, see [E-signing](/templates/05_e-signing). For a task waiting on your decision, see [Tasks](/workforce/tasks).
# Calendar
Source: https://docs.odella.ai/workforce/calendar
Schedule one-off or recurring work for an AI Employee.
Use **Calendar** to schedule work for a worker. Calendar manages time-based [Actions](/workforce/actions); each execution can create work tracked in [Tasks](/workforce/tasks). Use it for recurring reports, daily checks, weekly summaries, and reminders.
## Creating a scheduled task
You can create a task from a future calendar slot or with the create task action.
A scheduled task includes:
| Setting | What it does |
| - | - |
| **Name** | A short label for the scheduled task. |
| **Task instructions** | The prompt the worker receives when the task runs. Explain the outcome you expect. |
| **Schedule type** | Choose a one-time task or a recurring task. |
| **Date and time** | When a one-time task should run. Past dates cannot be scheduled. |
| **Recurring schedule** | A repeating cadence for recurring work. |
| **Timezone** | The timezone used to interpret the scheduled time. |
| **Enabled** | Keeps the task active. Disabled tasks are saved but do not run. |
## Managing scheduled work
You can:
* Edit an existing task.
* Drag a task to reschedule it.
* Delete a task.
* Disable a task without deleting it.
* For recurring tasks, choose whether changes apply to the whole series or only one occurrence.
> [!TIP]
>
> Write task instructions like a delegation note to a colleague. Include
> context, the expected output, where to find inputs, and where the result
> should go.
## Test and follow a scheduled run
Check the timezone on the schedule itself, especially around daylight-saving changes. Confirm the worker is active and its working-hours policy permits the requested work. Use **Run now** where offered for a controlled test, then inspect the resulting task and Activity.
A schedule is the recurring definition; a task is an individual execution. Disabling or deleting the schedule does not undo actions from past runs. Check existing tasks before manually repeating a missed or interrupted run.
## Example task instructions
```text theme={"system"}
Every Friday at 4pm, review this week's inbound support emails. Summarize the top recurring issues, list any unresolved customer escalations, and draft a short update for the operations team.
```
> [!WARNING]
>
> Scheduled tasks run automatically when enabled. Make sure the worker has the
> right knowledge, tools, and approval policy before scheduling sensitive work.
# Email channel
Source: https://docs.odella.ai/workforce/channels/email
Give an AI Employee a dedicated email address and test incoming messages, replies, and attachments.
# Give your worker an email address
The Email channel provides a dedicated address for a worker to send and receive messages. It is different from connecting an existing Gmail or Outlook account as a toolkit or source of monitored mail.
## Set up
1. Open the worker's communication channels and add **Email**.
2. Complete the fields shown in the editor and review the dedicated address.
3. Review **Channel Access** and the worker's inbound policy.
4. Complete the channel's creation/publication flow.
5. From an allowed account, send a low-risk message to the displayed address and confirm the reply.
Use the address displayed by the app rather than assuming an address from the worker's name.
## Test a useful request
> Please summarize the attached supplier update in five bullet points. Flag any missing information. Reply only to this conversation; do not contact the supplier.
Check that the worker receives the attachment and replies from the intended address. Reply to the same email thread to keep the conversation together. Supported email handling includes attachments and rich text; source quality and file limits can still affect processing.
## Outbound email and review
Receiving a message does not grant unrestricted permission to send new email. New recipients and sensitive actions remain subject to the worker's [outbound policy](/workforce/settings-security-privacy) and [approvals](/workforce/approvals).
Before approving a send, inspect the recipient list, Cc/Bcc, subject, message, and attachments. Do not save a broad exception just to complete a one-off test.
## Troubleshooting
* **No response:** Check the address, channel publication, worker availability, inbound policy, and Activity.
* **Sender blocked:** Confirm whether the sender is an account member, paired contact, or otherwise allowed by the selected policy.
* **Outbound email waiting:** Open the current approval request; replying with “approved” does not replace the approval control.
* **Attachment unreadable:** Confirm the file uploaded correctly and provide a supported, readable source rather than assuming its contents were processed.
For monitoring an existing business mailbox or using its tools, see [Integrations](/integrations/overview) and [Actions](/workforce/actions).
# Meeting setup
Source: https://docs.odella.ai/workforce/channels/meetings
Configure available Google Meet defaults and distinguish meeting participation from phone and browser voice.
# Configure meeting details
Where **Google Meet** is offered as a worker channel, its setup can hold a default meeting URL, dial-in number, and meeting PIN. These are optional defaults used when a task requires meeting-related work.
> [!NOTE]
>
> Meeting availability depends on the channel and capabilities enabled for your
> account. Configuring defaults does not itself join, schedule, record, or
> transcribe a meeting. A calendar or Zoom toolkit connection is not proof of
> live meeting participation support.
## Set up defaults
1. Open the intended AI Employee's channels and choose the available Google Meet setup.
2. Enter the appropriate **Default Meet URL** and/or **Dial-in number**.
3. Add a **Meeting PIN** if the meeting requires it.
4. Save and complete any channel activation steps shown in your account.
5. Test the intended task in an approved meeting with a human present, and verify the outcome.
Use meeting-specific instructions when the task should not use the saved defaults. Confirm the date, time, timezone, and intended meeting rather than relying on an old saved link.
## Delegate meeting work clearly
State the worker's role, the permitted meeting, the outcome you expect, and any restrictions. Confirm the supported join method before depending on attendance.
For example:
> If meeting participation is available for this worker, use the supplied meeting details for our internal test. Introduce yourself as an AI Employee. Do not record or share notes externally. Tell me if you cannot join.
## Consent and limitations
Follow your organization's meeting, recording, privacy, and disclosure requirements. Do not assume that a host admitting the worker authorizes recording or distribution of participants' information.
If the worker cannot join, check the link, dial-in/PIN, host admission requirements, enabled capabilities, and account eligibility. Use [browser Talk](/workforce/talk) for a direct voice conversation in Odella, or a [Phone channel](/workforce/channels/phone-and-messaging) for supported telephone calls.
# Phone, WhatsApp, and Signal
Source: https://docs.odella.ai/workforce/channels/phone-and-messaging
Activate an assigned number for calls, SMS, WhatsApp, or Signal and troubleshoot registration.
# Use your worker's assigned number
Before creating these channels, [reserve and assign an active phone number](/platform/phone-numbers) to the intended AI Employee. Provider registration, channel publication, and inbound access are separate checks.
## Phone: SMS and voice
1. Add **Phone** to the worker's channels.
2. Select the number actively assigned to that worker.
3. Enable **SMS**, **voice calls**, or both. At least one must be enabled, and the number must support the selected capabilities.
4. Review **Channel Access**, voice settings, and any presented outbound-calling terms.
5. Complete publication. The app verifies routing with the carrier; resolve reported verification errors before retrying.
6. Test an inbound text or call from an allowed contact.
Outbound calls and messages remain subject to the applicable policy and approval flow. Phone service is not the same as browser [Talk](/workforce/talk); also review account [funding and limits](/platform/billing-and-credits).
## WhatsApp
1. Add **WhatsApp** and select the worker's assigned number.
2. Review the display name and submit the channel's registration flow.
3. Check the registration status. Meta display-name approval may be required before messaging activates.
4. If rejected, read the provider reason and correct the setup using the offered controls.
5. After approval and activation, test a message from an allowed contact.
A number active for SMS is not proof that WhatsApp registration is complete. Do not promise immediate activation while provider review is pending.
## Signal
1. Add **Signal** using the assigned active number.
2. Start the registration flow in the setup guide.
3. Follow the displayed SMS-verification state. If a CAPTCHA is requested, complete the provided challenge and retry through the guide.
4. Refresh the registration status until active or until a specific error needs attention.
5. Configure a username where offered, review the contact link, and complete publication when allowed.
6. Test with an allowed contact using the current contact link or number.
Signal registration can be **unregistered**, **pending verification**, **active**, or **rejected**. A verification request does not mean the channel is ready to use.
## Troubleshooting
| Problem | Check |
| - | - |
| **Number missing or assigned elsewhere** | Assign an active number to this worker in Account → Phone numbers. |
| **SMS or voice unsupported** | Change the enabled options or select a suitable number. |
| **Provider approval pending** | Check registration status before resubmitting or creating another channel. |
| **Signal verification rejected** | Read the reason, complete any CAPTCHA, and use the supported retry controls. |
| **Active channel does not respond** | Check publication, inbound policy, worker state, account eligibility, and Activity. |
| **Outbound action is waiting** | Resolve the current [approval](/workforce/approvals); do not create a duplicate send. |
> [!WARNING]
>
> Review local calling, messaging, identity-verification, and consent
> requirements before enabling a public number. Provider encryption does not
> eliminate Odella's processing or your responsibility for information sent to
> the worker.
# Slack channel
Source: https://docs.odella.ai/workforce/channels/slack
Configure the Slack app for an AI Employee, authorize the intended workspace, and test messaging.
# Connect a worker to Slack
You need permission to create/install Slack apps in the intended workspace and permission to configure the worker's channel in Odella.
Open the AI Employee's channels, add **Slack**, and keep its setup guide open. Use the manifest generated for this exact worker and channel.
## Create the Slack app
If the editor offers an assisted app-creation flow, follow its instructions and review what it requests. For manual setup:
1. Open [Slack Apps](https://api.slack.com/apps/new) and select **Create New App**.
2. Choose **From an app manifest**.
3. Select the intended Slack workspace.
4. Choose the **JSON** tab and paste the manifest from the Odella setup guide.
5. Review the requested configuration and permissions, then create the app.
Do not substitute a manifest copied from another account or environment. The generated values bind this app to its intended Odella channel.
## Add credentials and authorize
In Slack **Basic Information**, copy these values into the corresponding Odella fields:
* **App ID**
* **Client ID**
* **Client Secret**
* **Signing Secret**
Select **Create** in Odella when the fields are complete. Approve the app for the intended Slack workspace when prompted, and complete the return to Odella. Finish any remaining activation controls shown by the editor.
> [!WARNING]
>
> These credentials are secrets. Never put them in a chat prompt, screenshot,
> public manifest, or source-control repository. Rotate exposed credentials in
> Slack and update the channel.
## Test safely
1. Confirm the worker and channel are available.
2. Open the installed Slack app and send a direct, low-risk request from an allowed member.
3. Confirm the response and related worker Activity.
4. Before wider use, review inbound access and approval rules for sends and connected tools.
Start with direct messaging before relying on broader channel conversations. Slack workspace permissions and Odella's access policy both apply.
## Troubleshooting
* **Install denied:** Ask a Slack workspace administrator to review app approval.
* **Authorization fails:** Confirm Client ID/Secret, intended workspace, and the current generated manifest.
* **Messages do not arrive:** Check channel activation and Slack configuration against the setup guide; review worker Activity.
* **Inbound member rejected:** Check account-member matching and the worker's inbound policy.
* **External send asks for approval:** This can be expected. Review the proposed action rather than weakening policy to make the test pass.
A Slack toolkit connection is separate from this communication channel. See [Tools](/workforce/tools) for assigning application actions.
# Microsoft Teams channel
Source: https://docs.odella.ai/workforce/channels/teams
Register the Microsoft app, configure an Azure Bot, install the Teams package, and test an AI Employee.
# Connect a worker to Microsoft Teams
This setup requires access to Microsoft app registration, Azure Bot creation, Microsoft Graph admin consent, and Teams app installation. Ask the relevant Microsoft administrator to complete steps you are not authorized to perform.
In Odella, add a **Microsoft Teams** channel to the intended worker and keep its generated setup guide open.
## 1. Register the Microsoft app
1. In the Azure portal, open **App registrations → New registration**.
2. Use a recognizable worker name and choose **Accounts in this organizational directory only**.
3. Register the app.
4. Copy the **Application (client) ID** and **Directory (tenant) ID** into Odella.
5. Under **Certificates & secrets → Client secrets**, create a secret and copy its **Value** into Odella's **Client Secret** field before leaving the page.
Keep the secret private and record its expiry through your organization's credential-management process.
## 2. Create the Azure Bot
Create an **Azure Bot** with the values shown by Odella's guide:
* **Type of App:** Single Tenant.
* **Creation type:** Use existing app registration.
* **App ID:** The Application (client) ID from the previous step.
* **App tenant ID:** The Directory (tenant) ID.
Use the pricing and resource-group choices approved by your organization. The in-app guide provides the suggested bot handle and setup values.
## 3. Configure the endpoint and Teams channel
1. In the Azure Bot, open **Settings → Configuration**.
2. Paste the **Messaging endpoint** generated by the Odella channel and select **Apply**.
3. Open **Channels → Microsoft Teams**, review and accept the terms, then apply.
4. Confirm the client ID, tenant ID, and client secret in Odella, then create the channel.
> [!WARNING]
>
> Use the endpoint generated for this channel and environment. Do not guess a
> regional URL or reuse another worker's endpoint.
## 4. Enable member matching
In the app registration, open **API permissions → Add a permission → Microsoft Graph → Application permissions**. Add **User.Read.All** and have an authorized administrator grant consent.
Review this directory-read permission with your Microsoft administrator. It supports member matching; it is not a grant of unrestricted Odella access.
## 5. Install the Teams app package
1. Enter a valid Application (client) ID in Odella.
2. Select **Download Teams app package** in the setup guide.
3. In Teams admin center, open **Teams apps → Manage apps → Actions → Upload new app**.
4. Upload the package and allow it as required by your policies.
5. In Teams, find the worker under **Apps → Built for your org** and add it.
If your organization permits direct custom app uploads, follow that supported Teams installation path instead.
## 6. Test a direct message
Send a low-risk direct message from an allowed member before adding the app to a team channel. Verify the reply and related Activity in Odella.
## Troubleshooting
* **Cannot create the bot/resource group:** Ask the Azure subscription owner to review your creation permissions.
* **Cannot download the package:** Check that the client ID is valid and present in the editor.
* **App unavailable in Teams:** Check upload/allow policy and installation in the correct tenant.
* **Member not recognized:** Check tenant ID, Graph permission/admin consent, and the worker's inbound policy.
* **Messages fail after a previously working setup:** Check secret expiry and the bot endpoint before recreating resources.
See [Security & Privacy](/workforce/settings-security-privacy) for inbound and outbound restrictions.
# Telegram and Discord
Source: https://docs.odella.ai/workforce/channels/telegram-and-discord
Create provider bots for your AI Employees and test authorized messaging.
# Connect a messaging bot
Telegram and Discord each require their own bot setup. You need permission to manage the worker's channel and the relevant provider application or server.
> [!WARNING]
>
> Bot tokens are secrets. Enter them only in the channel's secret field, never
> in a prompt, screenshot, or public repository. Rotate exposed tokens with the
> provider and update Odella.
## Telegram
1. In Telegram, open the official **@BotFather** and send `/newbot`.
2. Provide a display name and an available bot username following BotFather's requirements.
3. Copy the bot token into the Telegram channel editor in Odella, along with the requested bot details.
4. Complete the create/activation flow and review Channel Access.
5. Open the bot using its displayed username/link, start the conversation, and send a low-risk direct request.
Use the bot username returned by Telegram, not an assumed username based on the worker's display name. If activation fails, verify the token and bot identity before creating another bot.
## Discord
1. Open the [Discord Developer Portal](https://discord.com/developers/applications) and create an application.
2. Review the bot's name and profile. In the bot settings, obtain the bot token.
3. Follow the Odella setup guide's gateway-intent checklist, including its Message Content, Server Members, and Presence settings. Review privileged-intent requirements with your Discord administrator.
4. Paste the bot token into Odella and complete channel creation. The setup derives the application identity during activation; do not guess an Application ID.
5. Use the generated installation link once available to add the bot to the intended server and approve the required permissions.
6. Test a direct request or allowed message path, then confirm the response and Activity in Odella.
Discord's server/channel permissions still apply. A bot installed on a server may not have permission to read or reply in every channel.
## Troubleshooting
* **Invalid token:** Verify it in the provider dashboard; if rotated, update the Odella secret too.
* **Discord installation link unavailable:** Complete activation so the application identity can be resolved.
* **Bot present but not responding:** Check provider intents/permissions, Odella publication, inbound policy, and worker availability.
* **Message send needs approval:** Review the actual request through [Approvals](/workforce/approvals).
For broader channel policy, see [Communication channels](/workforce/communication-channels).
# Communication channels
Source: https://docs.odella.ai/workforce/communication-channels
Choose, configure, publish, and test the ways people can contact an AI Employee.
# Give people a way to reach your worker
A communication channel gives an AI Employee a contact point, such as an email address, workplace chat app, or phone number. A connected toolkit instead lets the worker perform actions in another application. The two can require different setup and permissions.
## Choose a channel
| Channel | Setup and purpose |
| - | - |
| **Web chat** | Talk to the worker in Odella. Browser voice, where available, uses [Talk](/workforce/talk). |
| **Email** | Give the worker a dedicated address for incoming messages and replies. |
| **Slack** | Configure a Slack app and approve it in the intended workspace. |
| **Microsoft Teams** | Register a Microsoft app, configure an Azure Bot, and install the Teams package. |
| **Phone** | Use an assigned active number for SMS, voice, or both. |
| **WhatsApp / Signal** | Use the assigned number and complete each provider's registration. |
| **Telegram / Discord** | Configure and activate a provider bot. |
| **Google Meet** | Configure meeting defaults where offered; this is separate from chat and phone setup. |
Use the channel types available in your account. A provider integration in the catalog is not proof that a communication channel of the same name is active.
## Create and publish
**1. Open the worker's channels**
Open the AI Employee and its communication-channel capability. Add the
channel type your team needs. You must have permission to manage the
worker's channels.
**2. Follow the provider-specific setup**
Complete the configuration and setup guide in the editor. Use its generated
manifest, endpoint, package, or assigned number; do not copy another
worker's configuration.
**3. Review access and outbound policy**
Choose who may contact the worker and how outbound actions should be
handled. Creating a channel does not remove approval requirements.
**4. Activate and test**
Complete authorization or publication as required. Send a low-risk direct
message from an allowed account and confirm the reply reaches the correct
conversation.
## Setup guides
> [card] [Email](/workforce/channels/email)
>
> Dedicated addresses, replies, attachments, and access checks.
> [card] [Slack](/workforce/channels/slack)
>
> App manifest, credentials, workspace approval, and testing.
> [card] [Microsoft Teams](/workforce/channels/teams)
>
> Microsoft registration, bot endpoint, package, and member matching.
> [card] [Phone, WhatsApp, and Signal](/workforce/channels/phone-and-messaging)
>
> Assigned numbers, provider registration, and publishing.
> [card] [Telegram and Discord](/workforce/channels/telegram-and-discord)
>
> Bot setup and safe credential handling.
> [card] [Meetings](/workforce/channels/meetings)
>
> Meeting defaults, prerequisites, and limitations.
## Access is separate from publication
The worker's [Security & Privacy](/workforce/settings-security-privacy) settings control inbound access, outbound messaging, and tool approvals. [Governance](/workforce/governance) controls who can use or edit the worker inside your organization.
A published channel can still refuse a sender under its access policy. A worker that can receive a message may still need approval before contacting someone else.
## Change or disconnect a channel
Review scheduled work, Actions, and expected inbound messages before changing credentials or removing a channel. Test the updated path after reconnecting. Pausing the worker or deleting a channel does not undo messages already sent.
If no reply arrives, check publication/registration, the intended provider workspace or number, worker availability, inbound policy, billing eligibility, and related [Activity](/workforce/activity).
# Create a private skill
Source: https://docs.odella.ai/workforce/create-a-skill
Write or import SKILL.md, review checks and proposed changes, and make a private skill available to your AI Employees.
# Turn a procedure into a reusable skill
A private skill packages working instructions for your account. Use one for a repeatable method, quality checklist, or specialist procedure—not as a substitute for giving the worker access to the required tools or source documents.
> [!NOTE]
>
> The skills workshop is available only where enabled for your account.
> Authoring, reviewing, and assigning skills also require the appropriate
> permissions.
## Create or import
**1. Open Skills**
Open the workforce **Skills** area and select **Create skill**.
**2. Set the metadata**
Enter a name, description, and category. Choose an available slug of 3–64
lowercase letters, numbers, and hyphens, such as `supplier-proposal-review`.
**3. Write SKILL.md**
Explain when to use the skill, what information it needs, how to work, and
when to ask a person. You can also drop a single file named **SKILL.md**
into the creation dialog; name and description can be populated from its
metadata.
**4. Submit for review**
Create the private skill. This opens a merge request for review; a newly
submitted draft is not yet an approved skill ready for use.
## Example skill
```markdown theme={"system"}
---
name: supplier-proposal-review
description: Compare supplier proposals against approved purchasing criteria.
---
# Supplier proposal review
## When to use
Use when asked to compare written supplier proposals for the same purchase.
## Required inputs
- Supplier proposals
- Approved purchasing criteria and budget
## Procedure
1. Confirm that the proposals address the same scope.
2. Compare price, exclusions, delivery, renewal, and termination terms.
3. Cite the document and section for each material finding.
4. Mark missing or conflicting information for human review.
5. Return a comparison table and draft recommendation.
## Boundaries
Do not contact suppliers, accept terms, or approve spending.
Ask the requester if purchasing criteria or budget are missing.
```
Do not put credentials, customer secrets, or unnecessary personal data in a skill. Reference approved knowledge and tools instead.
## Review proposed changes
Open **Merge requests** and select the proposal. Compare **Changes** with **Proposed files**, then open the review panel.
1. Inspect the security scan and quality evaluation states.
2. Read the attached evidence rather than relying only on a passing label.
3. Review every instruction and any supporting files for unintended sends, unsafe execution, data exposure, or overly broad responsibilities.
4. Use **Request changes**, **Reject**, or **Approve changes** as appropriate.
5. After approval, use **Merge request** where offered to apply the approved revision.
Approval and merging are separate steps. Check the resulting skill and version before assigning it.
### Quarantined proposals
A quarantine needs a reasoned review. **Return to review**, when offered to an authorized reviewer, returns the proposal to the review process; it does not itself approve or publish the skill. Resolve the underlying concern and follow the normal review steps. Do not bypass a warning simply to make the skill usable.
## Assign and test
Add the approved skill from the worker's capability picker. Test a representative request and at least one case with missing information. Confirm the worker follows the boundaries, has the required tools and knowledge, and returns the expected result.
When changing an existing skill, review the proposed revision and retest affected workers. Account-private visibility is not publication to the public marketplace.
## Troubleshooting
* **Slug unavailable:** Choose a distinct slug and wait for validation.
* **Import rejected:** Drop exactly one file named `SKILL.md`.
* **Skill not usable yet:** Check review, approval, and merge status—not just whether the draft was saved.
* **Worker ignores the method:** Make the description's usage conditions specific and check that the approved skill is actually assigned.
See [Skills](/workforce/skills) for how skills differ from workflows, templates, and knowledge.
# Employee profile
Source: https://docs.odella.ai/workforce/employee-page
Understand the AI Employee profile, availability control, connected applications, and management areas.
The employee page is where you configure, supervise, and operate an AI worker.
Open it from **Workforce** by selecting a worker card. The page is divided into three areas:
1. **Header** — breadcrumbs and the worker availability control.
2. **Profile sidebar** — worker identity summary, contact controls, connected inboxes, required applications, and working-hours usage.
3. **Main workspace** — the skill tree, calendar, Actions, working files, activity, and settings areas.
## Header controls
### Availability control
The availability control starts or pauses the worker.
* **Running / active** makes the worker available for work, subject to working hours, access, account eligibility, and approval policies.
* **Stopped** means the worker is paused and should not process normal work.
* If you cannot edit the worker, the toggle is read-only.
> [!WARNING]
>
> Stopping a worker can affect inbox monitoring, scheduled tasks, and
> event-driven actions. Use it when you intentionally want the worker offline.
## Profile card
The profile card shows the worker's avatar, name, role, and purpose. Depending on permissions, it also provides edit, contact, chat/configuration, and management controls.
Use this area to quickly identify which worker you are editing before changing skills, channels, or security settings.
## Sidebar sections
The profile sidebar has two sections: **Inboxes** and **Applications**.
### Inboxes
Inboxes are connected email feeds the worker can monitor.
Supported inbox providers include:
* **Gmail**
* **Outlook**
Each inbox row shows:
* Provider and account identity
* Current status
* Access level
* Whether the underlying provider integration is connected
Use **Connect Inbox** to add an inbox. Opening an inbox lets you review details, adjust access, or remove the feed.
> [!TIP]
>
> Connect an inbox when you want a worker to receive delegated email, track
> threads, and help with follow-ups.
### Applications
Applications are external integrations required by the worker's configured capabilities. The Applications section lists required tools and shows whether each is connected.
Each application row includes:
* Application logo and name
* A switch to connect or disconnect the integration
* Disabled state if the integration is unavailable
Applications are inferred from the worker's skills, workflows, triggers, and tools. If the worker does not depend on external systems, this section shows **No applications required**.
## Main workspace
The main panel contains the worker's core operating areas:
| Area | Purpose |
| - | - |
| **Skill tree** | Inspect the worker's communication channels, workflows, templates, knowledge, tools, and skills. |
| **Calendar** | Schedule one-off or recurring tasks for the worker. |
| **Actions** | Review event- and time-based automation definitions and resulting work. |
| **Workspace** | Manage the worker's private working files and folders. |
| **Activity Log** | Review worker activity such as threads, workflows, tasks, service checks, and delegated work. |
| **Settings** | Edit Identity and General Instructions; configure models, memory, working hours, Security & Privacy, Governance, billing, and termination. |
Use the `tab` URL parameter to deep-link to a specific area. For example, Settings uses `?tab=settings`; organization governance uses `?tab=settings&panel=governance`. The skill tree is the default view.
Use [Tasks](/workforce/tasks) for individual pieces of work and [Approvals](/workforce/approvals) for decisions that need human authorization. The accountable manager and editing rules are described in [Governance](/workforce/governance).
# Governance
Source: https://docs.odella.ai/workforce/governance
Assign an accountable manager, restrict access and editing, and control conversation sharing for an AI Employee.
# Decide who manages and uses a worker
In an organization account, open the AI Employee's **Settings → Governance**. Governance controls are separate from the worker's channel access and tool approval policy.
You need the appropriate management permissions to change these settings. Some controls may remain read-only even when you can edit other worker settings.

Restricted editing in the Governance panel, shown with Storybook example data.
## Assign an accountable manager
Choose the account member responsible for the worker. The manager owns approvals, configuration, and autonomous work, and retains access and full worker administration. Organization administrators also retain access.
This is an authorization responsibility, not just descriptive profile metadata. It does not grant unrelated billing permissions or access to every connected provider account.
Reassign the manager deliberately during handovers. If the current assignment is unavailable or requires reassignment, resolve that state before relying on unattended work.
## Choose primary access
Under **Access**, select the audience and role requirements offered by the panel. For example, limit a customer-service worker to a particular team and qualifying role.
Review the resulting audience before saving. A person outside it does not gain worker access just because you later add them as an editor.
## Control conversation sharing
**Share conversations across members** determines whether this worker can draw on one member's conversations while working with another.
* **Off:** Each member's conversations with the worker stay private from other members' worker context.
* **On:** The worker can read members' conversations with it while helping others. It does not post into another member's conversation.
Enable this only when cross-member context is appropriate for the team's work and privacy requirements. Review organization-level privacy controls too; this setting is not permission to share information through every channel.
## Restrict editing
Use **Who can edit** to choose the offered editing policy, including manager and selected editors where needed. Selected editors can be people or team-role combinations.
Editing can be limited by area:
| Area | Examples |
| - | - |
| **Profile & identity** | Name, role, purpose, personality, voice. |
| **Working instructions** | Durable work and communication guidance. |
| **Skills, tools & intelligence** | Models, memory, skills, tools, and supporting files. |
| **Schedule & availability** | Working hours, timezone, language, regional settings. |
| **Who can contact the Employee** | Connected inboxes and inbound access. |
| **Sending & approvals** | Outbound messaging, tool approvals, recipient rules. |
| **Automations & recurring work** | Scheduled and event-based actions. |
> [!NOTE]
>
> Editing permission does not grant access. Check both the audience and editing
> rules when a colleague cannot change a worker's settings.
## Save and test
Select **Save Changes**, then verify the intended people can access the worker and only edit the areas they need. Confirm the manager and conversation-sharing choice after saving.
For a complete setup, also review [Organization roles](/platform/roles-and-permissions), [Security & Privacy](/workforce/settings-security-privacy), and [Approvals](/workforce/approvals).
# Identity
Source: https://docs.odella.ai/workforce/identity
Edit an AI Employee's profile, voice, personality, and durable working instructions.
**Identity** controls who the worker is, what it is responsible for, and how it should behave.
Open the worker's **Settings** to find:
* **Identity** — profile fields such as name, role, purpose, personality, and voice.
* **General Instructions** — durable guidance the worker should follow across conversations and tasks.
* **Governance**, in organization accounts — accountable manager, access, editing rights, and conversation sharing.
## Profile settings
| Setting | What it does | Limits or insight |
| - | - | - |
| **Picture / avatar** | The worker's visual identity. | Used in the app and supported connected channels. |
| **Name** | Display name used in the app and connected channels. | 2–255 letters and spaces. |
| **Role** | Short job label, such as “Payroll Administrator” or “Research Analyst.” | 2–255 characters. |
| **Purpose** | Concise description of the worker's responsibilities and intended outcome. | 2–240 characters. Keep it specific and outcome-focused. |
| **Personality** | Behavioural style applied to the worker. | Choose one of the styles below. |
| **Voice** | Voice used for supported spoken responses. | Available voices are filtered to options compatible with the profile. |
The accountable manager is configured under [Governance](/workforce/governance). This assignment carries worker-management authority; it is not merely a descriptive profile field.
## Personality options
| Personality | Behaviour |
| - | - |
| **Default** | Balanced and adaptive. |
| **Analytical** | Precise and methodical. |
| **Creative** | Inventive and expressive. |
| **Empathetic** | Warm and understanding. |
| **Assertive** | Direct and action-oriented. |
| **Collaborative** | Team-focused and inclusive. |
| **Detail-oriented** | Thorough and quality-focused. |
| **Strategic** | Big-picture systems thinker. |
| **Supportive** | Patient and encouraging. |
## General Instructions
General Instructions are durable working guidance. Use them for rules and preferences that should apply across conversations and tasks, including:
* Tone and writing style
* Escalation rules
* Approval expectations
* Role boundaries
* Actions the worker must never take
* Output formatting
* How to handle uncertainty
General Instructions complement—not replace—Security & Privacy settings. A written instruction cannot grant access to a blocked recipient, tool, or application.
> [!TIP]
>
> Make instructions concrete. “Escalate contract variations over \$50,000 to the
> manager” is better than “be careful with important contracts.”
## Saving changes
Use **Save Changes** in the relevant settings panel to apply edits or **Cancel** to discard them. Editing rights can differ between Identity and General Instructions; being able to view the worker does not guarantee you can change either.
# Knowledge
Source: https://docs.odella.ai/workforce/knowledge
Connect source material, precedent, and document stores a worker can search.
Knowledge gives a worker access to source material it can search and reference while working.
This is how you ground a worker in your organization's policies, precedent, files, and reusable context.
## What knowledge gives a worker
Connected knowledge can help a worker:
* Answer questions from approved source material
* Follow company policies or procedures
* Use precedent language
* Compare documents against internal standards
* Find relevant context before running a workflow
## What to connect
Good knowledge sources include:
* Policy libraries
* Matter or project references
* Precedent documents
* Standard operating procedures
* Product or service documentation
* Internal FAQs
## How knowledge appears in the skill tree
Knowledge bases and document stores appear as connected resources in the skill tree. Private stores can be opened from the skill tree for review.
## Workspace vs. knowledge
Use **Knowledge** for reusable, governed source material.
Use **Workspace** for files the worker is actively handling, such as drafts, one-off uploads, or task-specific working files.
> [!WARNING]
>
> Avoid connecting broad or irrelevant knowledge bases. Too much unrelated context can make worker outputs less focused.
# Workforce overview
Source: https://docs.odella.ai/workforce/overview
Create, onboard, and manage AI Employees with defined roles, capabilities, working hours, and oversight.
# Build and manage your AI workforce
**Workforce** is where your team creates, hires, and manages AI Employees. Each worker has a defined role, assigned capabilities, working hours, security policies, and work history.
## Workforce overview
The Workforce page lists every worker in your organization. Use it to:
* Search and sort workers
* Review each worker's role and availability
* Start or pause work
* Open a worker's profile or settings
* Add a worker from scratch or hire one from the Marketplace
Worker cards show one of three availability states:
| Status | Meaning |
| - | - |
| **Stopped** | The worker is paused and does not accept normal work. |
| **Available now** | The worker is active and currently inside its working hours. |
| **Outside working hours** | The worker is active but outside its configured schedule. Its after-hours policy determines what happens to new requests. |
See [Operations & Logistics](/workforce/settings-operations-logistics) for working hours and after-hours behavior.
## Add a worker
Select **Add Worker**, then choose one of two paths.
> [card] Create a worker
>
> Define a role for your organization and onboard the worker with the
> responsibilities, context, and capabilities it needs.
> [card] [Hire from Marketplace](/marketplace/overview)
>
> Start with a ready-to-hire worker and adapt its configuration to your team.
### Create with guided setup
**1. Describe the role**
Enter a clear job description or upload supporting material. Include the
expected outcomes, recurring responsibilities, and situations that require
human review.
**2. Review the proposed setup**
Guided setup can recommend skills, tools, and workflows. Review every
recommendation before granting access.
**3. Complete onboarding**
Confirm the worker's identity, capabilities, working hours, and security
policies.
**4. Test a low-risk task**
Delegate a representative task, review the result, and refine the worker's
instructions before expanding its responsibilities.
### Create manually
Manual setup asks for:
| Field | Guidance |
| - | - |
| **Profile image and color** | Choose a visual identity that makes the worker easy to recognize. |
| **Name** | Use a clear, distinct display name. |
| **Role** | Use a short job title that describes the worker's function. |
| **Purpose** | Explain the outcome the worker is responsible for in one or two sentences. |
After creation, open [Identity and General Instructions](/workforce/identity) in Settings to set personality, voice, and durable guidance. In an organization account, use [Governance](/workforce/governance) to assign an accountable manager and review access.
## Onboard the worker
A reliable worker needs more than a name and model. Review these areas before assigning production work:
> [card] [Identity](/workforce/identity)
>
> Define role, purpose, voice, personality, and general instructions.
> [card] [Capabilities](/workforce/skill-tree)
>
> Assign only the skills, tools, workflows, templates, and knowledge required
> for the role.
> [card] [Schedule](/workforce/settings-operations-logistics)
>
> Set working days, working hours, timezone, and after-hours behavior.
> [card] [Security](/workforce/settings-security-privacy)
>
> Control inbound access, outbound messaging, tool approvals, and saved
> exceptions.
## Worker profile
Select a worker to open its profile. The profile brings the worker's capabilities, work, and governance controls together.
| Area | Purpose |
| - | - |
| [Skills](/workforce/skill-tree) | View and assign capabilities. |
| [Calendar](/workforce/calendar) | Schedule one-time or recurring work. |
| [Actions](/workforce/actions) | Manage event- and time-based automations. |
| [Workspace](/workforce/workspace) | Manage private working files and folders. |
| [Activity](/workforce/activity) | Review work history and operational events. |
| [Identity](/workforce/identity) | Manage profile and durable instructions. |
| [Settings](/workforce/settings-overview) | Configure identity, instructions, models, memory, schedule, security, governance, billing, and termination. |
The profile sidebar also provides access to connected inboxes, applications, availability, and current pricing information. See [Worker profile page](/workforce/employee-page) for a detailed layout reference.
## Delegate and review work
Use [Tasks](/workforce/tasks) to assign a clear outcome and follow progress. Workers can also receive work through [communication channels](/workforce/communication-channels), scheduled work, event-driven Actions, and direct conversations in Odella. Use [Approvals](/workforce/approvals) when a consequential action needs authorization; inspect actual deliverables before relying on them.
> [!WARNING]
>
> Start with narrow permissions and a clear human review process. Expand access
> only after the worker produces reliable results on representative work.
## Recommended operating practice
1. Assign one clearly owned responsibility.
2. Connect the minimum required knowledge and applications.
3. Define approval and escalation rules.
4. Test with representative, low-risk work.
5. Review Activity and outputs regularly.
6. Expand responsibilities deliberately.
# Billing
Source: https://docs.odella.ai/workforce/settings-billing
Understand hourly pricing, scheduled estimates, after-hours billing, usage charges, and quote fields for an AI Employee.
**Billing** compares the worker's saved quote with pricing based on the current draft settings.
> [!NOTE]
>
> This page describes worker quotes. Use [Account billing and
> credits](/platform/billing-and-credits) for funding, payment methods,
> automatic top-up, invoices, and monthly spend controls. See [Usage and
> limits](/platform/usage-and-limits) for consumption and resource capacity.
## Current and proposed columns
* **Current** is the saved quote used as the pricing reference.
* **Proposed** appears when a draft changes a pricing-sensitive field.
* Select **Save Changes** to refresh the quote for future work.
Saving a quote does not change charges that have already been finalized.
## Billing field reference
| Field | What it means |
| - | - |
| **Hourly price** | Effective hourly rate for the saved combination of language model, infrastructure size, and any price override. |
| **Monthly contracted cost** | Planning estimate: hourly price × scheduled hours per month. |
| **Machine size** | Infrastructure tier included in the quote. |
| **Default model** | Language model included in the quote. |
| **Working days / Working hours** | Schedule used to classify scheduled and after-hours work. |
| **Scheduled hours / week** | Total weekly hours across selected days. |
| **Scheduled hours / month** | Weekly scheduled hours × 4.33. |
| **Timezone** | Local clock used to apply the schedule. |
| **After-hours** | Queue, reject, or bill work received outside the schedule. |
| **Service state** | Whether the worker is active or stopped. This is changed with the pause/resume control, not in the Billing tab. |
| **Price override** | A custom hourly pricing adjustment, if one applies. |
| **Rate version** | Identifier for the pricing terms attached to the quote. |
| **Publication** | Identifier for the pricing release used by the quote. |
| **Current quote refreshed** | Date and time the current quote was saved. |
## Monthly estimate
The displayed monthly estimate includes scheduled working hours only:
`hourly price × scheduled hours per week × 4.33`
For example, a Monday–Friday 9 AM–5 PM schedule is 40 hours per week and 173.2 estimated hours per month.
The estimate excludes:
* After-hours working time
* Image and video generation
* Additional model usage charges under the worker's plan
* Other usage-based charges
It is therefore a baseline, not a maximum bill.
## After-hours billing
After-hours charges apply only when **After Hours Billing** is selected and the worker accepts work outside its working window. Queueing or rejecting a request does not start an after-hours work charge.
The active quote contains three after-hours terms:
| Term | Current standard | Meaning |
| - | - | - |
| **Rate multiplier** | 1.5× | Applied to the worker's effective hourly price. |
| **Billing block** | 30 minutes | Unit used to measure after-hours working time. |
| **Rounding** | Started block | Any started block is billed as a full block. |
The calculation is:
`after-hours charge = hourly price × rate multiplier × billed block hours`
Example with a \$4.00 hourly price:
* One started 30-minute block: `$4.00 × 1.5 × 0.5 = $3.00`
* Three started 30-minute blocks: `$4.00 × 1.5 × 1.5 = $9.00`
The worker's saved quote is authoritative if its terms differ from the current standard. Changing timezone, working days, or working hours changes which requests fall outside the schedule after the new quote is saved.
## Model and media usage
Additional model usage charges may apply under the worker's plan. Image and video generation are also usage-based and separate from scheduled working time.
> [!NOTE]
>
> Use the monthly estimate to plan the scheduled baseline, then account for
> expected after-hours coverage and media-heavy or model-intensive work
> separately.
## Legacy quote notice
An older quote may not contain every modern display field. In that case, Billing can infer schedule, model, or machine details from the worker's current configuration while preserving the saved hourly rate and pricing version.
# Memory & Reminders
Source: https://docs.odella.ai/workforce/settings-memory-reminders
Control shared context, overnight review, long-term memory, and follow-up tracking for an AI Employee.
**Memory & Reminders** controls what a worker can read from shared memory, what it may add, and how it preserves useful context.
## Shared context
| Field | What it means |
| - | - |
| **Read shared context** | Lets the worker use account context and the authenticated user's preferences across conversations and workers. Disable it when the role should rely only on its direct conversation and assigned knowledge. |
| **Write shared context** | Lets the worker update user-specific memory. Promotion into account-wide memory remains governed. Disable it for read-only or tightly controlled roles. |
Reading and writing are independent. For example, a worker can read established preferences without being allowed to add new ones.
## Enable dreaming
When enabled, the worker reviews recent activity overnight and saves useful context to long-term memory. This can preserve:
* User preferences
* Decisions made in conversations
* Useful details from recent work
* Patterns the worker should remember later
The review happens in cycles: **Light** reviews short-term memory, **Deep** turns important details into long-term memories, and **REM** connects them with related context.
## Dream diary
This field appears when dreaming is enabled.
| Mode | What it does |
| - | - |
| **Simple notes** | Creates a short, structured diary entry. This is the default. |
| **Detailed notes** | Uses a more detailed review process to create a richer entry. |
Dreaming organizes information over time; it does not replace an approved knowledge base for policies, procedures, or source documents.
## Remember follow-ups
When enabled, the worker tracks commitments such as:
* “Check back tomorrow”
* “Reply if they do not respond”
* “Send the summary next week”
This helps the worker resurface pending work instead of losing it in conversation history. Turn it off when the role must not create or retain future commitments from conversation.
## Defaults
Read shared context, write shared context, dreaming, and follow-up memory are enabled by default. Dream diary defaults to **Simple notes**.
> [!WARNING]
>
> Memory settings do not override access controls. Only give a worker access to
> the conversations, applications, and knowledge needed for its
> responsibilities.
# Model & Intelligence
Source: https://docs.odella.ai/workforce/settings-model-intelligence
Choose language, image, and video models, reasoning effort, and infrastructure size for an AI Employee.
**Model & Intelligence** controls the worker's thinking, media generation, and processing capacity.
## Field reference
| Field | What it controls | Billing insight |
| - | - | - |
| **LLM Model** | The default language model used for conversations, analysis, planning, and tool-assisted work. | Model choice contributes to the hourly quote. Additional usage charges may apply under the worker's plan. |
| **Reasoning Effort** | How much reasoning the selected model should apply before responding or acting. | Higher levels can increase token usage and processing time. |
| **Image Generation** | The default model used when the worker creates images. A task may override it when needed. | Image generation is usage-based and separate from the scheduled hourly rate. |
| **Video Generation** | The default model family used when the worker creates video. A task may select the compatible route for its duration and inputs. | Video generation is usage-based and separate from the scheduled hourly rate. |
| **Infrastructure Size** | Processing capacity, queue capacity, and supported concurrent conversations. | Infrastructure size contributes to the hourly quote. |
The `$` to `$$$$` badges compare relative model cost. They are guidance rather than a fixed per-request price.
## Reasoning effort
| Value | Best for |
| - | - |
| **Off** | Fast, simple responses. |
| **Low** | Straightforward work with light reasoning. |
| **Medium** | A balanced default for most workers. |
| **High** | Complex analysis, planning, or careful drafting. |
A higher setting does not guarantee a better result. Start at **Medium**, then increase it only when the role consistently requires deeper analysis.
## Infrastructure size
| Size | Best for |
| - | - |
| **Small Instance** | Personal workflows or a narrowly shared worker. Typically 1–3 people and 1 live conversation. |
| **Medium Instance** | A shared team worker used throughout the day. Typically 4–8 people and 2 live conversations. |
| **Large Instance** | Broad team coverage or higher-volume shared use. Typically 10–20 people and 4 live conversations. |
| **X-Large Instance** | Heavy enterprise use. 20+ people and 8 live conversations. Contact support for dedicated scaling. |
> [!TIP]
>
> Start with the smallest instance that fits expected use. Increase it when more
> people share the worker, work begins queueing, or more live conversations are
> required.
## Defaults and saved models
New workers default to GPT-6.1 Sol, Medium reasoning, GPT Image 2, Wan 3.0, and a Small Instance unless onboarding sets another configuration. Available choices and defaults can change; check the saved configuration and quote in your account.
If a previously selected language model is no longer offered, it remains visible as **Deprecated** so you can review the saved configuration and move to a supported model.
# Operations & Logistics
Source: https://docs.odella.ai/workforce/settings-operations-logistics
Set working days, working hours, after-hours behavior, timezone, language, and currency for an AI Employee.
**Operations & Logistics** controls when a worker is available and how time and regional values are interpreted.
## Availability and schedule
Quick presets provide common schedules. Turn on **Customize** to adjust the hours and eligible days.
| Field | What it means | Default |
| - | - | - |
| **Working Hours** | The local start and end of each selected working day. | 9 AM–5 PM |
| **Eligible Working Days** | Days on which the working window applies. At least one is required. | Monday–Friday |
| **After-Hours Behavior** | What happens when a request arrives outside the saved window. | After Hours Billing |
The saved end time must be later than the start time, and a working window cannot exceed 24 hours.
## After-hours behavior
| Value | Request behavior | Billing behavior |
| - | - | - |
| **Queue for next session** | Holds incoming work until the next eligible working window opens. | The request does not start paid after-hours work. |
| **Reject requests** | Declines requests received outside working hours. | The rejected request does not start paid after-hours work. |
| **After Hours Billing** | Allows the worker to handle the request immediately. | Working time is charged under the after-hours terms in the active quote. The current standard rate is 1.5× the worker's hourly price, billed in started 30-minute blocks. |
For example, with a \$2.00 hourly price, one started 30-minute after-hours block is:
`$2.00 × 1.5 × 0.5 hours = $1.50`
Two hours of billable after-hours work at that price would be `$6.00`. Started-block rounding means any part of a block counts as the full block.
> [!WARNING]
>
> The monthly estimate in Billing excludes after-hours work. Selecting **After
> Hours Billing** can therefore make the settled total higher than the displayed
> scheduled monthly estimate.
## Regional and localization fields
| Field | What it means | Billing or scheduling effect |
| - | - | - |
| **Default Timezone** | The IANA timezone used by the worker. | Determines the local boundary for working hours, calendar tasks, reports, and whether a request is after hours. |
| **Primary Language** | Preferred language for interactions and generated content. Options are English (US), English (UK), Spanish, French, and German. | Does not normally change the hourly quote. |
| **Currency Display** | Currency used for display and reporting. Options are USD, EUR, GBP, and AUD. | Changes display context; the saved quote remains the source of truth for the billed currency and rate. |
Timezone defaults to UTC. Language and currency can inherit the account configuration; otherwise they default to English (US) and USD.
> [!TIP]
>
> Set the timezone and working hours before creating calendar tasks. A wrong
> timezone can run scheduled work at the wrong local time or classify a request
> as after hours.
# AI Employee settings
Source: https://docs.odella.ai/workforce/settings-overview
Find settings for an AI Employee's identity, instructions, models, memory, schedule, governance, security, and billing.
Use **Settings** on an AI Employee's page to control how the worker thinks, when they work, what they remember, who they can contact, and how connected tools are approved.
Changes remain drafts until you select **Save Changes**. Saving a pricing-sensitive change also refreshes the worker's billing quote.
## Settings at a glance
| Area | Fields | What they control |
| - | - | - |
| [Identity and General Instructions](/workforce/identity) | Profile, personality, voice, durable working guidance | Who the worker is and how they should work. |
| [Governance](/workforce/governance) | Accountable manager, access, selected editors, conversation sharing | Who manages, uses, and edits the worker in an organization. |
| [Model & Intelligence](/workforce/settings-model-intelligence) | LLM model, reasoning effort, image model, video model, infrastructure size | Quality, speed, media generation, capacity, and price. |
| [Memory & Reminders](/workforce/settings-memory-reminders) | Read shared context, write shared context, dreaming, dream diary, follow-up memory | What the worker can remember and update. |
| [Operations & Logistics](/workforce/settings-operations-logistics) | Working days, start and end time, after-hours behavior, timezone, language, currency | Availability, scheduling, localization, and after-hours billing. |
| [Security & Privacy](/workforce/settings-security-privacy) | Inbound access, outbound messaging, recipient rules, tool policy, tool rules | Who can communicate with the worker and what actions it may take. |
| [Billing](/workforce/settings-billing) | Current and proposed quote, hourly price, monthly estimate, quote metadata | The pricing effect of the selected model, infrastructure, and schedule. |
| [Terminate](/workforce/settings-terminate) | Terminate employee | Permanent removal and cleanup. |
## Defaults for a new worker
Unless onboarding supplies different values, a new worker starts with:
| Field | Default |
| - | - |
| LLM model | GPT-6.1 Sol |
| Reasoning effort | Medium |
| Image generation | GPT Image 2 |
| Video generation | Wan 3.0 |
| Infrastructure size | Small |
| Working days | Monday–Friday |
| Working hours | 9 AM–5 PM |
| After-hours behavior | After Hours Billing |
| Timezone | UTC |
| Primary language | English (US), unless inherited from the account |
| Currency display | USD, unless inherited from the account |
| Inbound access | Account Members |
| Outbound messaging | Recommended |
| Tool approval | Recommended |
| Read and write shared context | Enabled |
| Dreaming | Enabled with Simple notes |
| Remember follow-ups | Enabled |
> [!NOTE]
>
> Available models and defaults can change as Odella adds or retires supported
> models. A saved retired model may appear as **Deprecated** until you select a
> current option.
## Settings that affect billing
The following user-editable fields can change the quote or usage charges:
* **LLM model** and **infrastructure size** determine the quoted hourly rate.
* **Working days and hours** determine scheduled hours and the monthly estimate.
* **After Hours Billing** permits work outside the schedule at the after-hours rate.
* **Image and video generation** are usage-based and are separate from the scheduled hourly rate.
* Additional model usage charges may apply under the worker's plan.
Timezone, language, currency display, memory, and security settings do not normally change the hourly quote directly, but timezone determines whether work falls inside or outside working hours.
## Saved quote and system-managed fields
Billing also displays fields that cannot be edited directly in the Settings form:
| Field | Meaning |
| - | - |
| **Service state** | Whether the worker is active or stopped. Use the worker's pause/resume control to change it. |
| **Price override** | A custom pricing adjustment, when one applies to the worker. |
| **Rate version** | Identifier for the pricing terms attached to the saved quote. |
| **Publication** | Identifier for the pricing release used by the quote. |
| **Quote refresh date** | When the current quote was saved. |
These fields help identify the pricing terms currently applied to the worker. Saving a pricing-sensitive setting refreshes the quote for future work; it does not change charges that have already been finalized.
# Security & Privacy
Source: https://docs.odella.ai/workforce/settings-security-privacy
Control inbound access, outbound recipients, and connected-tool approvals for an AI Employee.
**Security & Privacy** separates three decisions: who may contact the worker, who the worker may contact, and what connected tools it may use.
For the actual review-and-resolve process, see [Approvals](/workforce/approvals). To control who can use or edit the worker inside your organization, see [Governance](/workforce/governance). Those settings are separate from channel and tool policies.
## Inbound Access Policy
| Policy | What it does |
| - | - |
| **Public** | Anyone can message the worker. New senders are automatically added to contacts. |
| **Account Members** | Only users in your Odella organization can message the worker. External senders are blocked. This is the default. |
| **Access Code** | New senders must provide a unique pairing code once. Access remains after pairing. Selecting this option opens the access-code manager. |
Inbound access does not grant outbound permission and does not override tool approvals.
## Outbound Messaging Policy
| Policy | What it does |
| - | - |
| **Recommended** | Allows replies in current conversations and messages to trusted directory contacts. Asks before contacting someone new. This is the default. |
| **Ask every time** | Requires approval for every outbound message, including known contacts. |
| **Directory only** | Allows current conversations and trusted directory contacts, but blocks new recipients. |
| **Allow anyone** | Allows outbound messages to any recipient without approval. |
| **Disabled** | Blocks all outbound messaging from the worker. |
## Saved recipient rules
Recipient rules are explicit exceptions saved by channel and recipient address.
* An **allow** rule pre-approves that recipient, which is useful for a scheduled report sent to a fixed email address.
* A **block** rule prevents the worker from contacting that recipient.
* A recipient cannot be both allowed and blocked. Remove the block before adding an allow rule.
* Rules can be added in advance or saved when a team member approves a send.
Saved recipient rules work with the selected outbound policy; they do not change who may contact the worker.
## Tool approval policy
| Policy | Read actions | Write actions | External sends | Destructive actions | Credential actions |
| - | - | - | - | - | - |
| **Recommended** | Allow | Ask | Ask | Ask | Block |
| **Approval-first** | Ask | Ask | Ask | Ask | Block |
| **Restricted** | Allow | Block | Block | Block | Block |
| **Unrestricted** | Allow | Allow | Ask | Ask | Block |
**Recommended** is the default. “Unrestricted” applies to ordinary reads and writes; sends and destructive actions still require approval, and credential actions remain blocked.
## Saved tool rules
Saved rules override the default tool policy for a specific connected tool:
* **Always allow** lets the worker use that tool without asking where the action is eligible to be allowed.
* **Always block** prevents the worker from using that tool.
* A choice saved during an approval can appear here automatically.
* Removing a saved rule returns the tool to the selected default policy.
> [!WARNING]
>
> Review allow rules carefully for tools that send messages, edit production
> systems, manage sensitive data, or delete records. Use the narrowest policy
> that still lets the worker complete its responsibilities.
# Terminate
Source: https://docs.odella.ai/workforce/settings-terminate
Remove a worker from your workforce and clean up connected channels and triggers.
**Terminate** removes the worker from your workforce.
Termination is for workers you no longer need. If you only want to pause work temporarily, use the worker availability control instead.
## What happens during termination
When you terminate a worker:
* You are asked to confirm the action.
* The worker is removed from your workforce.
* Connected channels and triggers are cleaned up.
* The worker should no longer process normal work.
> [!WARNING]
>
> Termination is destructive. Use it only when you are sure the worker should be removed.
## Pause instead of terminate
Use the availability control when you want to temporarily stop a worker without deleting it.
Pausing is better when:
* You are investigating behavior
* You are changing settings
* You need a temporary operational hold
* You may need the worker again later
# Skill tree
Source: https://docs.odella.ai/workforce/skill-tree
See and manage the full capability map for an AI Employee.
The **Skill tree** is the visual map of a worker's capabilities.
It brings together communication channels, workflows, templates, knowledge, tools, and skills so you can understand what the worker can do at a glance.
## What the skill tree shows
| Capability | What it represents |
| - | - |
| **Communication channels** | Ways people or systems can reach the worker. |
| **Workflows** | Automations the worker can run. |
| **Templates** | Document structures the worker can populate or reference. |
| **Knowledge** | Searchable source material and document stores. |
| **Tools** | External application capabilities, usually grouped into toolkits. |
| **Skills** | Packaged instructions and specialist behaviors. |
## Using the skill tree
From the skill tree, you can:
* Review the worker's connected capabilities
* Add or remove resources if you have edit access
* Open workflows, templates, knowledge stores, toolkits, channels, or skill details
* See which external applications may be required
* Keep the worker's role focused and understandable
## Why it matters
The skill tree is the fastest way to answer: **what can this worker actually do?**
A well-maintained skill tree makes workers easier to govern, easier to debug, and easier for your team to trust.
> [!TIP]
>
> If a worker gives poor results, review the skill tree first. It may be missing the right workflow, template, knowledge source, or tool access.
# Skills
Source: https://docs.odella.ai/workforce/skills
Add packaged instructions and specialist behaviors to an AI Employee.
Skills are packaged capabilities that teach a worker how to handle a specific kind of task, tool, or workflow pattern.
Where workflows define a process, skills provide specialist know-how: instructions, conventions, techniques, and guardrails the worker can apply while working.
## What skills give a worker
Skills can help a worker:
* Follow a specialist process
* Use a tool correctly
* Apply domain-specific standards
* Produce consistent outputs
* Avoid known mistakes
* Work with a particular system or document type
## How skills appear in the skill tree
Skills appear as connected capabilities in the skill tree. Selecting a skill opens its details so you can inspect what it provides.
## When to use skills
Use skills when the worker needs reusable expertise that is not just a single workflow or document template.
Good examples include:
* A research method
* A drafting style guide
* A provider-specific operating procedure
* A checklist for a specialized review
* Instructions for using a connected business system
## Create and maintain private skills
Where the skills workshop is enabled, open **Workforce → Skills** to create a private skill or import a single `SKILL.md` file. New proposals go through merge-request review, including security and quality checks, before approved changes are merged and assigned to workers.
See [Create a private skill](/workforce/create-a-skill) for metadata, an example, review decisions, quarantine handling, and testing. Saving a draft or approving a proposal is not the same as applying the reviewed revision.
## Best practices
* Keep skills focused and named clearly.
* Prefer workflows for strict step-by-step automation.
* Prefer knowledge bases for source material.
* Prefer templates for document structure.
* Use skills for durable operating know-how.
# Talk and document review
Source: https://docs.odella.ai/workforce/talk
Use browser voice conversations, follow delegated tasks, and review returned files without losing your thread.
# Talk to an AI Employee
Where **Talk** is available in your chat, use it to speak with a worker in the current conversation. Browser Talk is separate from a [Phone channel](/workforce/channels/phone-and-messaging) or meeting participation.
> [!NOTE]
>
> Voice availability depends on your account, worker setup, and current feature
> availability. Use the controls shown in your account; do not assume every
> channel or browser offers the same voice capabilities.
## Start and finish a conversation
1. Open a chat with the intended AI Employee.
2. Select **Talk** and allow microphone access when the browser asks.
3. Wait for the connection state before speaking. Use the displayed microphone/mute control when needed.
4. Delegate a concrete outcome, including source material and any review requirements.
5. Select **End** to return to messages when finished.
If microphone access is denied, check the browser's site permissions and selected input device. Use headphones if audio feeds back through your microphone. Avoid starting multiple voice sessions in different tabs while troubleshooting.
## Follow work started during Talk
The worker may accept a task and continue the work separately from the conversation. **Accepted is not completed.** Use the task progress and details to check questions, approvals, failures, and deliverables.
You can provide text guidance through the available composer. Do not assume a spoken “yes” replaces a required [approval](/workforce/approvals).
## Review returned documents
When a task returns an actual file, use **Open** or **Download** where offered:
* Supported documents and Markdown can open in the conversation's document canvas.
* Unsupported preview formats may still be downloadable.
* Opening or closing a preview does not itself end the conversation.
* If a later revision arrives, select it explicitly rather than assuming an open preview has been replaced.
Ending Talk returns to messages and can leave the current preview open. Task results are associated with the originating work; check the task if a result is not immediately visible in the chat.
## Attachments and document context
Use normal text-chat uploads or task attachments to supply source files. The current Talk flow does not offer general voice attachment submission; it can retain drafts or attachments that must be handled in text chat instead.
An open preview is not proof that all of its content has automatically been shared with the worker. Name the document and intended revision in your request, and confirm the relevant source is attached or accessible.
## Recover from a problem
| Problem | Next step |
| - | - |
| **Voice cannot connect** | Check microphone permissions, connection state, worker availability, and account eligibility. |
| **Task updates disconnect** | Retry task updates or open Tasks; do not create duplicate work just because the progress view is stale. |
| **Preview fails** | Retry the preview or download the returned file. Check the task independently. |
| **A task is waiting** | Open details and answer the question or resolve its approval. |
| **Call ended before work finished** | Check the task's current status rather than assuming it was cancelled. |
For account funding and capability restrictions, see [Billing and credits](/platform/billing-and-credits) and [Usage and limits](/platform/usage-and-limits).
# Tasks
Source: https://docs.odella.ai/workforce/tasks
Assign work, understand task states, respond to questions, and review results from your AI workforce.
# Assign and track work
Open **Tasks** to follow work across the AI Employees you can access. Tasks may start from a direct request, a schedule, an external event, a workflow, or delegated work.
A task being accepted or queued does not mean it has finished. Follow its status and inspect the result.
## Create a task
**1. Select New task**
Open Tasks and select **New task**. When creating work from an individual
worker's page, the worker may already be selected.
**2. Choose the worker and goal**
Select an AI Employee with the knowledge, tools, and permissions the work
requires. State the outcome, approved sources, constraints, and review
requirements.
**3. Add source material**
Attach relevant files where offered. Wait for uploads to complete and
resolve any failed attachments before submitting.
**4. Create and follow progress**
Submit the task, then open its details to review progress, questions,
approvals, and returned files.
For example:
> Review the attached supplier proposals. Compare scope, price, and renewal terms in a table. Cite the source for each comparison and return a draft recommendation. Do not contact suppliers or accept any proposal.
## Understand the board
| Lane | Meaning | What to do |
| - | - | - |
| **Queued** | Ready for a worker. | Check availability and required access if it does not start. |
| **Running** | Work is in progress. | Review progress; add guidance if needed. |
| **Waiting** | Waiting for input, approval, or a future time. | Open details to see what it needs; do not assume it failed. |
| **Attention** | Blocked or paused. | Resolve the stated blocker before resuming. |
| **Closed** | Failed, cancelled, or lost work. | Inspect the reason and any completed actions before retrying. |
| **Completed** | The task finished successfully. | Review the answer and actual deliverables. |
Some empty lanes may be hidden. Task details provide the specific status and reason, not just the board grouping.
## Answer a question or provide guidance

A task waiting for input, shown with Storybook example data.
Open the task and read the question before responding. Supply the requested facts or complete the displayed questionnaire. Use **Answer and resume** where offered to continue waiting work. For running work, guidance adds direction rather than creating a separate task.
If the task needs a decision about an external action, use its [approval controls](/workforce/approvals). A text message saying “approved” is not a substitute for the required approval action.
## Retry, cancel, or remove work
Controls depend on status and your permissions. Before retrying:
1. Read the failure or interruption reason.
2. Check for outputs or external actions that already succeeded.
3. Fix missing access, provider connections, unavailable files, or unclear instructions.
4. Retry the existing task where appropriate and monitor the new attempt.
> [!WARNING]
>
> A failed task does not prove that no external changes occurred. Check the
> destination system before repeating sends or record changes. Removing a task
> from the board is not a rollback of completed work.
Cancel work you no longer want using the available task controls. Do not assume cancellation reverses actions already performed.
## Find and review results
Open completed task details to inspect the worker's answer and returned files. Preview supported files or download them. A summary that mentions a document is not itself a downloadable attachment.
Check sources, names, numbers, and required review criteria before using the result. Use [Activity](/workforce/activity) for related work history, [Calendar](/workforce/calendar) for schedules, and [Actions](/workforce/actions) for event-driven work.
## Troubleshooting
* **No worker is available:** Check access, service state, working hours, and account [limits](/platform/usage-and-limits).
* **Waiting for approval:** Open the current request and resolve it through the approval controls.
* **Blocked by an integration:** Reconnect or grant the required tool access before resuming.
* **No file appears:** Read the task's actual result. Ask for the required deliverable if the worker only returned an answer.
* **Controls are read-only:** Ask the worker's manager or resource owner to review your permissions.
# Templates
Source: https://docs.odella.ai/workforce/templates
Give a worker reusable document formats it can populate or reference.
Templates give workers reusable document structures. They help workers produce consistent outputs without recreating formatting or boilerplate each time.
## What templates give a worker
When a template is connected, the worker can use it to generate or populate documents during a task or workflow.
Use templates for:
* Reports
* Letters
* Contracts
* Forms
* Briefs
* Summaries
* Client-ready documents
## How templates appear in the skill tree
Templates appear as connected resources in the skill tree. Selecting a template opens the template editor.
A worker can use templates directly when appropriate, or indirectly through workflows that include template population steps.
## Best practices
* Publish templates before assigning them to workers.
* Name templates by their business purpose, not just their file type.
* Keep placeholders clear and consistent.
* Pair templates with knowledge bases or workflows when the worker needs source material.
* Review generated documents before using them in sensitive or external contexts.
> [!TIP]
>
> Templates work best when the worker also has access to the workflow or knowledge needed to fill them accurately.
# Tools
Source: https://docs.odella.ai/workforce/tools
Give a worker controlled access to external systems and provider toolkits.
Tools let a worker interact with external systems. They are usually grouped into toolkits, such as a provider or service-specific collection of actions.
Tools let a worker read information or perform approved actions in connected systems.
## What tools can enable
Depending on the connected application, tools can let a worker:
* Read records or messages
* Search external systems
* Draft updates
* Send messages
* Create or edit records
* Upload or download files
* Trigger provider-specific actions
## Toolkits
A toolkit is a group of related tools. For example, a toolkit might contain several actions for one provider or one business system.
In the skill tree, toolkits show which groups of tools the worker can use.
## Required applications
When a worker needs external tools, the required application appears in the sidebar's **Applications** section. Connect the application before expecting the worker to use those tools successfully.
## Security and approvals
Tool behavior is governed by the worker's **Tool approval policy** in Settings.
Policies can allow, ask, or block categories such as reads, writes, external sends, destructive actions, and credential-related tools. Saved tool rules can override the default policy for specific tools.
> [!WARNING]
>
> Be careful with tools that send external messages, edit production data, manage credentials, or delete records. Use approval-first or restricted policies for sensitive workers.
# Workflows
Source: https://docs.odella.ai/workforce/workflows
Give a worker repeatable automations it can run on demand or from triggers.
Workflows are step-by-step automations a worker can use to complete structured work.
A workflow might extract data, draft a document, review a file, update a system, ask for approval, or combine several of those steps into a repeatable process.
## What workflows give a worker
When you attach a workflow to a worker, the worker can choose it when a request matches that capability.
Use workflows for processes that should be:
* Repeatable
* Auditable
* Consistent across users
* Easier to maintain than a long prompt
* Connected to templates, tools, or knowledge bases
## Examples
Good workflow capabilities include:
* Review a contract and produce a risk summary
* Generate a client onboarding pack
* Extract invoice details and route exceptions
* Draft a weekly status report
* Compare a document against a policy checklist
## How workflows appear in the skill tree
Workflows appear as connected capabilities in the skill tree. Selecting a workflow opens it in the workflow builder so you can inspect or edit the process.
> [!WARNING]
>
> Publish workflows before relying on them in workforce. Draft workflows may not be available to the worker.
## Best practices
* Use clear workflow names and descriptions.
* Keep each workflow focused on one business process.
* Include required inputs and outputs in the workflow description.
* Connect any templates, tools, or knowledge needed by the workflow.
* Test workflows before assigning them to high-volume workers.
# Workspace
Source: https://docs.odella.ai/workforce/workspace
Manage the private files and folders an AI Employee uses while working.
**Workspace** is the worker's private file area. Use it for files the worker needs while doing day-to-day work, such as inputs, drafts, exports, notes, and temporary reference material.
Workspace supports common document, text, data, and image files. Upload limits are enforced by file type, file count, and file size.
## What you can do
| Action | What it does |
| - | - |
| **Upload files** | Adds files to the current folder. You can upload manually or drag and drop. |
| **Create folder** | Adds a folder for organizing files. |
| **Refresh** | Reloads the current folder. |
| **Preview** | Opens supported files, including text, PDF, and DOCX files. |
| **Download** | Downloads a selected file. |
| **Copy path** | Copies the workspace path for a file or folder. |
| **Rename** | Changes the name of a file or folder. |
| **Move** | Moves files or folders between workspace folders. |
| **Delete** | Removes a selected file or folder after confirmation. |
| **Clear workspace** | Removes workspace contents after confirmation. |
## When to use Workspace
Use Workspace for operational files tied to this worker's current work.
Good examples:
* A spreadsheet to review
* A PDF to summarize
* A draft report
* A folder of exported files
* Temporary notes for an active matter or project
## Workspace vs. knowledge bases
Workspace files are useful working files. They are not the best place for reusable, governed knowledge.
Use **Document Stores** or knowledge bases for material that should be searchable, reusable, and managed across the organization.
> [!WARNING]
>
> Clearing or deleting workspace files is destructive. Download anything important before removing it.