AI EngineerGuide

How to create a webhook trigger for Grok Bot

by Ashik Nesin Ashik Nesin

Sometime you might want to send information to your Grok bot from an external system.

Say, a customer has rised a issue and you want to do let the Grok bot do the initial analysis or something.

For such cases, you can use the webhooks trigger for your Grok bot.

How to get started?

Just tell your bot, to create a routine with webhook trigger and it’ll create a new routine for you.

1000656996.png

And from the created webhook, you can get the credentials needed to trigger the webhooks.

1000656997.png

Example

curl -X POST "https://api2.cursor.sh/automations/webhook/YOUR_WEBHOOK_ID" \ -H "Authorization: Bearer $YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"message": "Hello from my webhook!"}'

If it works, you should be getting success in the response.

Reference

Stay Updated

Get the latest AI engineering insights delivered to your inbox.

No spam. Unsubscribe at any time.