Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs: update guides for SDK changes (#3724)
sdkrelease[bot]d30c9f24a096
diff --git a/docs/content/docs/setting-up-triggers/creating-triggers.mdx b/docs/content/docs/setting-up-triggers/creating-triggers.mdxindex 812faff7d..13eef7f83 100644--- a/docs/content/docs/setting-up-triggers/creating-triggers.mdx+++ b/docs/content/docs/setting-up-triggers/creating-triggers.mdx@@ -76,11 +76,11 @@ console.log(`Trigger created: ${trigger.triggerId}`);</Tab></Tabs>-You only pass a `user_id`. The SDK looks up that user's connected account for the toolkit automatically.+You only pass a `user_id`. Composio resolves that user's connected account for the toolkit automatically.### Targeting a specific connected account-If a user has more than one connected account for the toolkit, the SDK uses the most recently created one. Pass a connected account ID to pick exactly which account the trigger watches.+If a user has more than one connected account for the toolkit, Composio uses the first active connection for the user and the trigger's toolkit. Pass a connected account ID to pick exactly which account the trigger watches.<Tabs groupId="language" items={['Python', 'TypeScript']} persist><Tab value="Python">