--- alias: user-guide-automation-business-scenarios-building-structure-step-message tags: - automation - connect iot description: "This documentation outlines a component for displaying user-facing messages with configurable options" --- # Message Display a message to inform the user. | Name | Description | Mandatory | Type | Possible Values | Default Value | | ----------- | ------------------------------------------------------------------------------- | --------- | -------- | ---------------------- | ------------- | | message | Message to show to the user | N | `String` | `Object[]` | | | messageKey | Key that points to the answers object containing the message to send to the GUI | N | `String` | | | | messageType | Type of message provided. Necessary to explain the gui how to render it | N | `Enum` | `String`
`Entities` | `String` | !!! warning Either `message` or a `messageKey` must be provided. if both are present, only `message` will be used. ## Example snippets ```json { "type": "Message", "settings": { "message": "Hello World" }, "next": "NextStep" } ``` ```json { "type": "Message", "settings": { "messageType": "Entities", "message": [{ "$type": "...", "id": "14876234821" }] }, "next": "NextStep" } ```