cs-icon.svg

AWS SNS

The AWS Simple Notification Service (AWS SNS) connector automates the process of sending notifications to the members subscribed/added to AWS SNS.

For instance, consider a scenario where you either create or update an entry in Contentstack and you want to notify specific users about it via a specific platform. In this case, link your AWS SNS account to the AWS SNS Automations connector, and every time the event occurs, it will trigger our action connector to send notifications to the medium(s) that has been set in your AWS SNS account.

Set Up AWS SNS

Perform the following steps to set up the AWS SNS action connector:

  1. Click Configure Action Step from the left navigation panel.
  2. Click Action Step to configure third-party services.
  3. Within the Configure Action Step, click the AWS SNS connector.
    Select_the_Connector_SNS.png

  4. Under Choose an Action tab, select the Send Notification action.
    AWS-SNS-Action.png
  5. Click the + Add New Account button to add your AWS account (see screenshot in next step).
    AWS-SNS-Configure-Action-Add-New-Account.png
  6. In the Authorize modal, provide details such as Title, Access Key, Secret Key, and Region.
    You can generate the Access and Secret Key by navigating through Security credentials > Access Keys > Create New Access Key in your AWS account.
  7. 5.Generate_Access_Key.jpg

    Additional Resource: For more information, refer to the Managing access keys for IAM users document.

     Then, click Authorize.

    Click_the_Authorize_button

  8. After adding an account, click the Topic field and select a given topic from the Lookup dropdown, click the Topic type field and select the topic type based on the Topic you selected, and then click the Message Body textbox and enter a sample message for the notification. You can even add dynamic parameters that appear in the output dropdown.
    AWS-SNS-Configure-Action.png
  9. Click the Show optional fields toggle button to enter the values for Message Attributes and Subject optional fields.
    In Message attributes, you can enter certain attributes (in JSON format only) along with your message, and in Subject, you can enter the subject of the message.
    Subject_Message_Attributes.png
  10. Click Proceed.
  11. Check if the details are correct. If yes, click Test Action.
    AWS-SNS-Test-Action.png
  12. After successfully executing the Action, you will get a notification on your configured communication medium. For this example, we have configured the user's email in their SNS account.
  13. 11.Output_Email.png

  14. Click Save and Exit to finish the process.AWS-SNS-Output.png

This sets the AWS SNS action connector.

Was this article helpful?
^