Message Appender

Overview

You can use this Snap to merge document streams into a single output stream.


Message Appender Snap Overview

Prerequisites

None.

Snap views

Type Description Examples of upstream and downstream Snaps
Input This Snap has at least two document input views:
  • First Input: Represents the response provided by the Tool Calling Snap.
  • Second to Last Inputs: Represent the results generated by the Function Result Generator Snaps.
Mapper
Output This Snap has one document output view. The output displays the original response provided by the Tool Calling Snap and the aggregated messages list. Mapper
Learn more about Error handling.

Snap settings

Legend:
  • Expression icon (): Allows using JavaScript syntax to access SnapLogic Expressions to set field values dynamically (if enabled). If disabled, you can provide a static value. Learn more.
  • SnapGPT (): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
  • Suggestion icon (): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
  • Upload : Uploads files. Learn more.
Learn more about the icons in the Snap settings dialog.
Field/Field set Type Description
Label String

Required. Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.

Default value: Message Appender

Example: Append weather report and info
Messages String/Expression

Specify the list of messages to which the results from the Result Generator Snaps will be appended.

Default value: N/A

Example: $msg
Snap Execution Dropdown

Select one of the following modes: Validate and Execute, Execute only, or Disabled.

Default value: Execute only

Example: Validate and Execute

Examples