AWS-SNS
AWS SNS – Subscribe (Trigger)
Summary (SEO Meta Description):
The AWS SNS Subscribe Trigger in WeHub listens for events published to an SNS topic and starts a workflow.
Configure with Topic ARN, Endpoint, and Protocol Type to integrate AWS event-driven systems with workflows.
Overview
The AWS SNS Subscribe Trigger allows WeHub workflows to respond automatically to messages published to an AWS SNS topic.
It supports multiple delivery protocols (HTTP, HTTPS, Email, SMS, Lambda, etc.), making it highly versatile for event-driven architectures.
This trigger is useful for real-time event handling, notifications, and cross-service integration.
⚙️ Configuration Options
| Field | Type | Description | 
|---|---|---|
| Label | String | Custom name for the trigger node. | 
| Select Connection | Connection | Choose or create an AWS connection with valid IAM credentials. | 
| Topic ARN | String | The ARN (Amazon Resource Name) of the SNS topic to subscribe to. | 
| Endpoint | String | The endpoint that receives notifications (e.g., HTTP URL, Lambda ARN). | 
| Protocol Type | Enum | Defines how notifications are delivered. Supported values below. | 
Supported Protocol Types
- HTTP → Deliver JSON messages to an HTTP endpoint.
- HTTPS → Deliver JSON messages securely over HTTPS.
- EMAIL_JSON → Send structured JSON messages via email.
- SMS → Send plain-text notifications via SMS.
- SQS → Deliver notifications to an SQS queue.
- APPLICATION → Send messages to a mobile app or push notification service.
- LAMBDA → Invoke an AWS Lambda function with the published message.
- FIREHOSE → Stream messages directly into Kinesis Data Firehose for analytics or storage.
💡 Example Use Cases
- Healthcare → Receive appointment updates or alerts from AWS healthcare apps.
- Finance → Stream stock alerts or fraud detection messages into workflows.
- DevOps → Trigger incident workflows from AWS CloudWatch → SNS → WeHub.
- IoT → Process IoT device data streamed through SNS → SQS → WeHub workflow.
FAQ
Q: What permissions are required for SNS subscription?
A: The AWS connection must include IAM permissions for sns:Subscribe and sns:Receive.
Q: Can I subscribe the same workflow to multiple topics?
A: Yes, by configuring multiple SNS Subscribe triggers with different Topic ARNs.
Q: Does WeHub auto-confirm SNS subscriptions?
A: Yes, WeHub handles the confirmation handshake automatically once the endpoint is active.
Keywords: AWS SNS Subscribe, WeHub Trigger, Event-Driven Workflow, AWS Integration, SNS Protocol Types