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 |
api_key for explicit credentials, role to use Azure Managed Identity / DefaultAzureCredential |
| Endpoint | Yes | - | Azure Event Grid topic endpoint URL |
| Access Key | Conditional | - | Event Grid topic access key (encrypted). Required when Authentication Type is api_key |
| Tenant ID | Conditional | - | Your Azure AD tenant ID. Required when Authentication Type is role. The Tendrl app must be registered/consented in this tenant. |
Role-Based Authentication
When using role authentication, the connector authenticates via Azure Managed Identity / DefaultAzureCredential. You must still supply a Tenant ID so Strand can authenticate against your Azure AD tenant; no explicit keys or connection strings are needed.
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..."
}
Connector Setup (role-based):
json
{
"auth_type": "role",
"endpoint": "https://my-topic.eastus-1.eventgrid.azure.net/api/events",
"tenant_id": "00000000-0000-0000-0000-000000000000"
}
Node Configuration:
- Subject:
orders/{{ payload.order_id }} - Event Type:
OrderCreated
Tendrl