Skip to main content

REFERENCE

Developer Reference

Authentication, APIs, SDKs, Flow Agent processors and parameter resolution, in full.

Listen Message

Pause and wait for user input; the text lands in prevMessage before the flow continues.

Listen Message is the processor that waits for and receives a message from the user.

  1. Basic usage​

    When Listen Message runs, the workflow pauses until the user sends a message. The content is stored in variables for later processors, and execution continues to the next processor.

  2. Configuration​

    The node's property panel:

    The Listen Message property panel: Name and Description only, no Properties section

    Name​

    The name shown on the canvas, used to identify this processor within the workflow.

    Description​

    Explains what this processor is for, making the workflow easier to read.

  3. Output variables​

    Receiving a message produces these variables for later processors:

    prevMessage​

    The text the user sent (type: string).

    prevBlobs​

    If the user uploaded files, their details are stored in this array (type: Blob[]). Each Blob carries blobId, fileType, fileName, size and mime.

  4. In the Workflow CRD​

    Listen Message has no settings at all, so configs is an empty array.

    - name: proc-listen
    type: listen-message
    labels:
    display_name: Listen Message
    configs: []

    It has one relationship, success, and no failure branch.

  5. Relationships​

    Success​

    Once a message has been received, the workflow continues from this connection point to the next processor.

  6. A worked example​

    The smallest echo there is: Listen Message takes the input, and a Push Message after it sends prevMessage straight back.

    Listen Message itself has nothing to fill in. What arrives lands in prevMessage, and any attached files in prevBlobs.

  7. Notes​

    • The flow stops at this node and stays stopped until the user sends something.
    • Every pass through overwrites prevMessage and prevBlobs with this turn's input.
    • Files the user uploads are held by the platform; later nodes reach them through blobId.

Ready to get started?

Want to see how Asgard fits your team? Talk to us.

Contact us