--- title: "Post to SNS Topic" slug: "post-to-sns-topic" updated: 2025-09-02T20:07:52Z published: 2025-09-02T20:07:52Z canonical: "documentation.decisions.com/post-to-sns-topic" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Post to SNS Topic | Step Details | | --- | | **Introduced in Version** | 3.0.0 | | **Last Modified in Version** | 8.9.0 | | **Location** | Integration > Amazon AWS > SMS | The **Post to SNS Topic** step is used to take an inputted string of text and output it to SNS and is then posted. ### Prerequisites - This step requires the [Amazon AWS Module](https://documentation.decisions.com/docs/aws) to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox, and an active [AWS account](https://signin.aws.amazon.com/signin?redirect_uri=https%3A%2F%2Fconsole.aws.amazon.com%2Fconsole%2Fhome%3FhashArgs%3D%2523%26isauthcode%3Dtrue%26nc2%3Dh_ct%26src%3Dheader-signin%26state%3DhashArgsFromTB_eu-north-1_c1412528899e4833&client_id=arn%3Aaws%3Asignin%3A%3A%3Aconsole%2Fcanvas&forceMobileApp=0&code_challenge=HQku5BPrRUboP5p1wGr4Ai_nBIQNSqsR2eHJNCBfxhQ&code_challenge_method=SHA-256). The [Amazon WebServices Settings](https://documentation.decisions.com/docs/setting-up-amazon-webservices-integration) must also be configured. - A [dependency](https://documentation.decisions.com/docs/project-dependencies) must be created after installing the module in order for the Step to be used. --- ## Properties #### Settings | Property | Description | Data Type | | --- | --- | --- | | Topic Name | Name defined in SNS to be selected from a dropdown to define the topic. | String | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Message Text | The body of the message to be posted to SNS. | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Message ID | Outputs completed step information. | String | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-08-13_14h54_37.png) --- ## Common Errors ### Topic Cannot Be Empty If the topic has not been inputted, the step will cause an error. To correct this, input a topic into it's designated section under Settings. #### Exception Message: ```csharp DecisionsFramework.BusinessRuleException: [BusinessRule] You have to pick a Topic, it cannot be empty at Decisions.AWS.SNS.SnsUtilities.PublishToTopic(String messageText, SnsTopic actualTopic, String messageGroupId, String messageDeduplicationId) at Decisions.AWS.SNS.PostSnsMessage.Run(StepStartData data) at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData) at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) ``` ---