Support Passing Parameters Through Grok Bot Deep Links

Feature request for product/service

– Other –

Describe the request

I would like to request support for passing parameters through Grok Bot deep links.

Currently, a deep link can open Grok Bot, but passing a value such as schedule_id through the URL does not work. When I tested this, the parameter was rejected.

My use case is to open Grok Bot from another application and pass a specific ID through the deep link. The bot should be able to receive and use that ID as context, instead of requiring the user to copy and paste it manually.

For example, a link could open Grok Bot with a schedule_id parameter, allowing the bot to use that ID when responding to the user.

Could you please consider adding support for query parameters in deep links, or provide another recommended way to pass context to the bot?

Thank you.

Hey @Dushant_Bhola, thanks for the suggestion!

Deep links only accept the parameters each link type defines, which is why a custom key like schedule_id gets rejected. A new prompt link is coming in an upcoming Grok Bot update that covers your use case. It opens a Bot with a message already typed into its composer, so you can put the ID in the message text:

grokbot://app/v1/prompt?id=&text=Look%20up%20schedule%2012345

There is also a web version that hands off to the app, which works well from a browser or email: Open in Grok Bot&text=…

A few details:

  • The message is filled in but never sent automatically. The user reviews it and presses send.
  • It only fills an empty composer, and the text must be a single line of up to 1,000 characters (URL-encoded).
  • To get the Bot’s id, use “Copy link” from the Bot’s menu in the sidebar. The id is the last part of that link.

The link will work once your Grok Bot app is on the update that includes it, so keep an eye on upcoming releases.