https://linen.dev logo
Can't create slackbot trigger
# 🖥│support-forum
a
When I try to create a trigger for
slackbot
using following code
Copy code
const result = await composio.triggers.create(userId, triggerSlug, {
        connectedAccountId: composioAccountId,
      });
I get the following error
Copy code
[2026-06-30 23:34:09.711] ERROR: Failed to create Composio trigger
    triggerSlug: "SLACKBOT_CHANNEL_MESSAGE_RECEIVED"
    composioAccountId: "ca_8BXOEvgXGCR4"
    userId: "1d44ce66-342f-4074-8a72-b9aea168d111"
    error: {
      "status": 404,
      "headers": {},
      "error": {
        "error": {
          "message": "No webhook endpoint found for toolkit \"slackbot\". Create a webhook endpoint before setting up triggers.",
          "code": 1203,
          "slug": "TriggerInstance_ResourceNotFound",
          "status": 404,
          "request_id": "95286bf7-a2bc-46a8-aea4-32c0aa6a93cd",
          "suggested_fix": "Call POST /api/v3/webhook_endpoints with your toolkit_slug and client_id to create an endpoint, then configure it with your app credentials."
        }
      },
      "errorId": "73f1af62-2aac-48e5-86e6-d0833dae7018"
    }
I don't get the error because in the dashboard I can see the webhook endpoint being configured (see attached screenshot) Also the error says that I need to pass toolkit slug to the webhook endpoint which also doesn't makes sense because webhook is per project not per toolkit https://cdn.discordapp.com/attachments/1521647859731005480/1521647859911364709/image.png?ex=6a459880&is=6a444700&hm=6a1ebf3115f93fe9098f79b1fcd4a01017bcc40947befce36afca504d79c0ec2&
2 Views