Skip to main content

Change Theme

Changes the color theme of the Assistant interface, allowing customization of colors and icons.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Background Color - The background color of the Assistant interface.
  • Button Color - The color of buttons in the interface.
  • Disabled Color - The color used for disabled UI elements.
  • Divider Color - The color of dividers and separators.
  • Primary Color - The primary accent color for the interface.
  • Secondary Color - The secondary accent color for the interface.
  • Text Color - The color of text elements.
  • Chat Bubble Primary Color - The primary color of chat bubbles.
  • Chat Bubble Secondary Color - The secondary color of chat bubbles.
  • Chat Icon - URL for a custom chat icon in SVG format.

How It Works

The Change Theme node modifies the visual appearance of the Assistant interface. When executed, the node:

  1. Collects all the color values from the inputs
  2. Constructs a theme object with the specified colors
  3. Sends the theme configuration to the Assistant
  4. Updates the interface with the new theme

Requirements

  • Valid color values in supported formats (hex codes, RGB, etc.)
  • For Chat Icon, a valid URL to an SVG file

Error Handling

The node will return specific errors in the following cases:

  • Invalid color format
  • Network communication errors
  • Invalid URL for Chat Icon
  • Missing required color values

Usage Notes

  • All color inputs accept standard color formats (hex codes, RGB, etc.)
  • The Chat Icon input accepts a URL to an SVG file for customizing the chat icon
  • Theme changes take effect immediately after the node executes
  • Colors can be customized to match brand guidelines or user preferences
  • The node affects the visual appearance but not the functionality of the Assistant