Message Widget

Display custom messages anywhere in your flow with the Message Widget—great for greetings, instructions, and more, with Markdown support.

Message Widget

Component description

How the Message Widget component works

Message Widget Overview

The Message Widget is a simple yet powerful component designed to display custom messages within your AI workflow. It can serve as a welcome message, prompt, or provide any other information to users or downstream components. This widget is particularly useful for enhancing user interaction, guiding workflow execution, and making your processes more intuitive.

What Does This Component Do?

The Message Widget outputs a message in the workflow’s output stream. The message can be fully customized and supports Markdown formatting, which allows you to include formatted text, lists, links, and more. You can use it to:

  • Display instructions or important information to users
  • Provide feedback or status updates
  • Insert custom prompts or context in the middle of a workflow

Inputs

Input NameTypeRequiredDescriptionSupports Markdown
Input textMessageNoThe message to display. Can be provided dynamically from upstream componentsYes
MessageStringYesThe main message to show. Markdown formatting is supported.Yes
Show OnceBooleanNoIf enabled, the message will be shown only once, not on every run.N/A
  • Input text: Allows you to dynamically feed a message from another component, though this is optional.
  • Message: The core message content you wish to display. By default, it’s set to “Hello, how can I help you?” but you can modify it to suit your workflow.
  • Show Once: When enabled, ensures the message appears only once, which is useful for things like welcome messages or one-time notifications.

Outputs

Output NameTypeDescription
MessageMessageThe message that gets displayed
  • The primary output is a Message object containing your custom text, which can be passed to subsequent components in your workflow.

Why Use the Message Widget?

The Message Widget adds a human touch and helpful context to your AI processes. Here are some use cases:

  • Welcome or onboarding message: Greet users or introduce the workflow.
  • Instructions: Explain the next steps or provide usage tips.
  • Notifications: Alert users to important events or statuses.
  • Custom prompts: Feed context or prompts to downstream AI components.

Summary Table

FeatureDetails
Markdown SupportYes
Customizable MessageYes
Show Once OptionYes
InputsInput text, Message, Show Once
OutputsMessage
Typical Use CasesWelcome messages, notifications, prompts

This component is easy to configure and can play a crucial role in making your AI workflows user-friendly and informative.

Examples of flow templates using Message Widget component

To help you get started quickly, we have prepared several example flow templates that demonstrate how to use the Message Widget component effectively. These templates showcase different use cases and best practices, making it easier for you to understand and implement the component in your own projects.

Previous Next

Frequently asked questions

What does the Message Widget do?

The Message Widget displays a customizable message within your workflow. It’s perfect for welcome messages, instructions, or other important notifications.

Can I format the message text?

Yes, the Message Widget supports Markdown formatting, allowing you to style your message with bold, italics, lists, and more.

Is it possible to show the message only once?

Absolutely. You can enable the 'Show Once' option so the message appears only a single time per session.

Where can I use the Message Widget in my flow?

You can place the Message Widget anywhere in your workflow to provide helpful information or guidance to users at any step.

Does the Message Widget accept dynamic content?

The message can be static or use input from other components, making it flexible for various use cases.

Enhance Your Flows with Message Widget

Add informative messages or greetings to your flows with the flexible Message Widget component in FlowHunt.

Learn more