SDK
HTTP Reference
Instance methods
defineDynamicTrigger()
Define a Dynamic Trigger
Copy
const dynamicOnIssueOpenedTrigger = client.defineDynamicTrigger({
id: "github-issue-opened",
event: events.onIssueOpened,
source: github.sources.repo,
});
Parameters
The options for the dynamic trigger.
Used to uniquely identify a DynamicTrigger
An event from an Integration package that you want to attach to the DynamicTrigger. The event types will come through to the payload in your Job’s run.
An external source fron an Integration package
Returns
Copy
const dynamicOnIssueOpenedTrigger = client.defineDynamicTrigger({
id: "github-issue-opened",
event: events.onIssueOpened,
source: github.sources.repo,
});
Was this page helpful?
Copy
const dynamicOnIssueOpenedTrigger = client.defineDynamicTrigger({
id: "github-issue-opened",
event: events.onIssueOpened,
source: github.sources.repo,
});
Assistant
Responses are generated using AI and may contain mistakes.