@azure/functions-extensions-connectors package
Interfaces
| BuildCompletedTriggerContext |
Completed Azure DevOps builds. |
| CalendarChangedEventTriggerContext |
Calendar changes, including the SDK action type. |
| CalendarEventTriggerContext |
Trigger context for Office 365 calendar triggers. Provides |
| ChannelMessageTriggerContext |
Trigger context for Teams channel message triggers. Provides |
| ConnectorTriggerContext |
Context object delivered to connector trigger handlers. Wraps the AI Gateway trigger callback payload with typed access to items. |
| ConnectorTriggerOptions |
Options for registering a connector trigger function with connectorTrigger.
Includes the polling and batching options from |
| ConnectorTriggers |
First-class connector trigger registrations grouped by connector. |
| DataflowRefreshTriggerContext |
Completed Dataflows refreshes. |
| DataflowsTriggers |
Dataflows refresh triggers. |
| DeletedItemTriggerContext |
Deleted SharePoint list items or files. |
| EmailTriggerContext |
Trigger context for Office 365 email triggers. Provides |
| FileTriggerContext |
Trigger context for SharePoint file triggers. Provides |
| GitPullRequestTriggerContext |
Azure DevOps Git pull requests. |
| GitPushTriggerContext |
Azure DevOps Git pushes. |
| KustoTriggers |
Kusto connector trigger registrations. |
| Office365Triggers |
Office 365 connector trigger registrations. |
| OneDriveFileTriggerContext |
OneDrive for Business file metadata. |
| OneDriveForBusinessTriggers |
OneDrive for Business metadata triggers. |
| PlannerTaskTriggerContext |
Planner tasks. |
| PlannerTriggers |
Planner task triggers. |
| QueryResultTriggerContext |
Trigger context for Kusto query result triggers. Provides |
| SalesforceRecordTriggerContext |
Salesforce records with dynamic SDK fields. |
| SalesforceTriggers |
Salesforce record triggers. |
| SharepointItemTriggerContext |
SharePoint list items and file properties with dynamic SDK fields. |
| SharepointTriggers |
SharePoint Online connector trigger registrations. |
| TeamMemberTriggerContext |
Teams membership changes; the SDK does not define individual member fields. |
| TeamsTriggers |
Teams connector trigger registrations. |
| TfvcChangesetTriggerContext |
Azure DevOps TFVC check-ins. |
| TriggerCallbackBody |
Inner body of the AI Gateway trigger callback, containing the array of trigger items. |
| TriggerCallbackPayload |
Envelope type for AI Gateway trigger callback payloads. The AI Gateway wraps triggerBody() in a {"body":{"value":[...]}} structure. Type parameter TItem is the connector-specific trigger item type (e.g., GraphClientReceiveMessage for Office 365 email triggers). |
| VstsTriggers |
Azure DevOps (VSTS) triggers. |
| WorkItemTriggerContext |
Azure DevOps work item changes. |
Type Aliases
| ConnectorTriggerHandler |
Handler function for a connector trigger.
Return a value to send it to the |
| ConnectorTriggerRegistration |
Registers a named connector trigger with typed options. |
| DataflowsOnRefreshCompleteTriggerPayload |
Normalized Dataflows refresh callback using the SDK refresh model. The SDK does not export a callback envelope alias for this webhook. |
Functions
| connector |
Registers a connector trigger function with the Azure Functions app. This wraps <xref:app.connectorTrigger> with a strongly-typed ConnectorTriggerContext
that normalises the raw host payload into a consistent |
Variables
| Kusto |
|
| connectors | First-class connector trigger registrations. Example
|
Function Details
connectorTrigger<TItem>(string, ConnectorTriggerOptions<TItem, ConnectorTriggerContext<TItem>>)
Registers a connector trigger function with the Azure Functions app.
This wraps <xref:app.connectorTrigger> with a strongly-typed ConnectorTriggerContext
that normalises the raw host payload into a consistent items array.
function connectorTrigger<TItem>(name: string, options: ConnectorTriggerOptions<TItem, ConnectorTriggerContext<TItem>>)
Parameters
- name
-
string
The function name used for registration and routing.
- options
-
ConnectorTriggerOptions<TItem, ConnectorTriggerContext<TItem>>
The trigger configuration including handler and optional bindings.
Variable Details
KustoRow
KustoRow: any
Type
any
connectors
First-class connector trigger registrations.
Example
import { connectors, GraphClientReceiveMessage } from '@azure/functions-extensions-connectors';
connectors.office365.onNewEmail('OnNewEmail', {
handler: async (context, invocationContext) => {
// context.emails is GraphClientReceiveMessage[] — fully typed, no cast needed
for (const email of context.emails) {
invocationContext.log(`Subject: '${email.subject}'.`);
}
},
});
connectors: ConnectorTriggers