Docs / Strand / connectors/azure-event-grid
Azure Event Grid
Direction: Write Only | Type: azure.eventgrid
Azure Event Grid connector for publishing events. This is a forward-only connector for event-driven architectures.
Required Permissions#
| Operation | Required Azure Role |
|---|---|
publish |
EventGrid Data Sender |
Tip: If using access key authentication, the topic access key implicitly authorizes publishing. If using RBAC, assign the EventGrid Data Sender role at the topic level.
Operations#
| Operation | Direction | Description |
|---|---|---|
publish |
Write | Publish an event to Event Grid |
Connector Configuration#
| Field | Required | Default | Description |
|---|---|---|---|
| Authentication Type | No | api_key |
Uses explicit credentials (the fields below). |
| Endpoint | Yes | - | Azure Event Grid topic endpoint URL |
| Access Key | Conditional | - | Event Grid topic access key (encrypted). Required when Authentication Type is api_key |
| Topic Name | No | - | Default Event Grid topic name (can be overridden at node level) |
Node Configuration#
| Field | Required | Default | Description |
|---|---|---|---|
| Subject | No | strand/event |
Event subject |
| Event Type | No | WorkflowEvent |
Event type identifier |
Output#
json
{
"success": true,
"status": "sent",
"data": {
"subject": "strand/event",
"event_type": "WorkflowEvent"
},
"service": "azure.eventgrid",
"operation": "publish"
}
Example#
Connector Setup:
json
{
"endpoint": "https://my-topic.eastus-1.eventgrid.azure.net/api/events",
"access_key": "base64-encoded-key..."
}
Node Configuration:
- Subject:
orders/{{ payload.order_id }} - Event Type:
OrderCreated
Tendrl