Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
docs: reorder creating-triggers to lead with SDK, add section links
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmithamallesh committed
Feb 9, 2026 at 17:59 UTC
3b14211cf722a0aa0d6dca7e7819298e26c22904
1 file changed
+18
-16
docs/content/docs/setting-up-triggers/creating-triggers.mdx
+18
-16
@@ -4,28 +4,15 @@ description: Create trigger instances via the dashboard or SDK
4
keywords: [triggers, create trigger, trigger config]
5
---
6
7
+Create a trigger to start receiving events. A trigger watches for a specific event (e.g., `GITHUB_COMMIT_EVENT`) on a specific user's connected account.
8
+
9
<Callout type="info" title="Prerequisites">
10
Before creating triggers, ensure you have:
11
- An [auth config](/docs/authentication#how-composio-manages-authentication) for the toolkit you want to monitor
12
- A connected account for the user whose events you want to capture
13
</Callout>
14
13
-You can create triggers using the Composio dashboard or programmatically via the SDK.
14
-
15
-## Using the dashboard
16
-
17
-Navigate to [Auth Configs](https://platform.composio.dev?next_page=%2Fauth-configs), select an auth config, and click "Add Trigger". Switch to the "Active Triggers" tab to find the trigger ID.
18
-
19
-<Video src="/videos/enabling-triggers.mp4" poster="/images/enabling-triggers-poster.png" caption="Creating a trigger from the dashboard" />
20
-
21
-Some triggers require additional configuration. The dashboard prompts you for any required fields during setup.
22
-
23
-<Figure
24
- src="/images/trigger-config.png"
25
- alt="Trigger configuration example"
26
- caption="Example: Gmail trigger configuration"
27
- size="sm"
28
-/>
15
+You can create triggers using the [SDK](#using-the-sdk) or the Composio [dashboard](#using-the-dashboard).
16
17
## Using the SDK
18
@@ -84,3 +71,18 @@ console.log(`Trigger created: ${trigger.triggerId}`);
71
<Callout>
72
The trigger instance uses the toolkit version configured during Composio initialization (defaults to `'latest'`). See [Toolkit Versioning](/docs/tools-direct/toolkit-versioning) for details.
73
</Callout>
74
+
75
+## Using the dashboard
76
+
77
+Navigate to [Auth Configs](https://platform.composio.dev?next_page=%2Fauth-configs), select an auth config, and click "Add Trigger". Switch to the "Active Triggers" tab to find the trigger ID.
78
+
79
+<Video src="/videos/enabling-triggers.mp4" poster="/images/enabling-triggers-poster.png" caption="Creating a trigger from the dashboard" />
80
+
81
+Some triggers require additional configuration. The dashboard prompts you for any required fields during setup.
82
+
83
+<Figure
84
+ src="/images/trigger-config.png"
85
+ alt="Trigger configuration example"
86
+ caption="Example: Gmail trigger configuration"
87
+ size="sm"
88
+/>