Skip to main content
Back to list of integrations Use the Amazon SNS integration to let agents publish messages to SNS topics through Action Tools. SNS then delivers each message to the topic’s subscribers. Artemis signs each request with AWS SigV4.

Supported actions

Actions are Amazon SNS operations that an agent runs as Action Tools during a conversation. You can also run them from an Integration node in a workflow.

Prerequisites

  • At least one SNS topic with confirmed subscriptions.
  • sns:ListTopics populates the topic dropdown. To restrict publishing, replace * in the publish statement with topic ARNs.

Set up the integration

1

Prepare AWS credentials

Create an IAM role (recommended) or an IAM user with access keys, and attach a policy for the actions you use. For a role, add a trust policy that requires the External ID shown in the Artemis profile form. External agents require a role.
2

Create the auth profile

In Integrations, select Amazon SNS > Connect. On Project Auth Profiles, select New Profile > Integration Profile > Amazon SNS > Continue. Set Usage Mode to Preconfigured, choose Credentials, and select Create Profile.
3

Create the action tool

In Tools, select New Tool > Action > Amazon SNS > Continue. Select the Action and Auth Profile, set parameter defaults (leave a value empty for the agent to supply at runtime), and select Create Tool. Then assign the tool to an agent.

Action reference

Publishes a message to an SNS topic.

Troubleshoot common issues

Related articles: