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(triggers): remove forward-looking SDK field access from code samples
Anshu Garg68b27d2bb662
diff --git a/docs/content/docs/setting-up-triggers/creating-triggers.mdx b/docs/content/docs/setting-up-triggers/creating-triggers.mdxindex b570bf49d..3cf8a112e 100644--- a/docs/content/docs/setting-up-triggers/creating-triggers.mdx+++ b/docs/content/docs/setting-up-triggers/creating-triggers.mdx@@ -33,9 +33,6 @@ user_id = "user-id-123435"trigger_type = composio.triggers.get_type("GITHUB_COMMIT_EVENT")print(trigger_type.config)# {"properties": {"owner": {...}, "repo": {...}}, "required": ["owner", "repo"]}-print(trigger_type.requires_webhook_endpoint)-# False → create the trigger normally-# True → see "Configuring the webhook endpoint" below first# Create trigger with the required configtrigger = composio.triggers.create(@@ -57,9 +54,6 @@ const userId = 'user-id-123435';const triggerType = await composio.triggers.getType("GITHUB_COMMIT_EVENT");console.log(triggerType.config);// {"properties": {"owner": {...}, "repo": {...}}, "required": ["owner", "repo"]}-console.log(triggerType.requiresWebhookEndpoint);-// false → create the trigger normally-// true → see "Configuring the webhook endpoint" below first// Create trigger with the required configconst trigger = await composio.triggers.create(