botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
68 stars 84 forks source link

[FEATURE] #1712

Closed totalhack closed 1 year ago

totalhack commented 1 year ago

Is your feature request related to a problem? Please describe.

I want to be able to tie Botpress web chats back to other internal tracking parameters, such as a session ID, and potentially pass that custom ID/param through to actions the bot might trigger.

Describe the solution you'd like

Include some "context" when initiating the bot on a web page, make those context variables available within the bot to be used in downstream actions. For example, if I had an action to redirect a user to a partner website, I might want to template in subid={{custom_params.session_id}}.

davidvitora commented 1 year ago

@totalhack use the 'userId' in your embedding configuration, it needs to be at least 24 characters long