# Amazon SNS - Publish message action
The Publish message action publishes a message to a specified topic.
# Input
Input field | Description |
---|---|
Topic Name | Use the drop-down menu to select a message topic. |
Subject | Enter a subject tile for the message. |
Message format | Select the message format. Select JSON to send different messages for each transport protocol. Select Raw to send the same message to all protocols. Refer to the Amazon documentation (opens new window) for more information. |
Message | Provide the message content. For Raw, enter a single message for all protocols. For JSON, define the message schema and enter the message content. Refer to the Configure message schema section for more information. |
Message attributes schema | Enter values to define your message attribute schema. Enter a Name, Type, and Value for each attribute. Refer to the message attributes (opens new window) section for more information. |
# Configure message schema
Define the message schema to send different messages for each transport protocol.
Refer to the Amazon documentation (opens new window) for more information.
Sample message schema | Input field generated |
---|---|
![]() |
# Output
Output field | Description |
---|---|
Message ID | The message ID. |
Last updated: 5/21/2025, 5:22:32 AM