# Publish message action
This action publishes a message to a specified topic.
# Input
Field | Description |
---|---|
Topic Name | Select the message topic from the picklist. |
Subject | Provide a subject tile for this message. |
Message format | Select the message format. If you want to send different messages for each transport protocol, select JSON. Otherwise, select Raw to send the same message to all transport protocols. Learn more here (opens new window). |
Message | For Raw message format, provide the message here. For JSON message format, you must first define the message schema. Next, provide the message contain in the input field. Learn more here. |
Message attributes schema | Define your message attribute schema. The Name, Type, and Value are required fields in a message attribute item. See message attributes (opens new window). |
# Configure message schema
If you want to send different messages for each transport protocol, you will have to define the message schema.
Learn more here (opens new window).
Sample message schema | Input field generated |
---|---|
# Output
Field | Description |
---|---|
Message ID | The message ID. |
Last updated: 2/18/2021, 10:10:10 AM