Hi MindStudio team,
I’m running an AI agent (Planabar) via a Guest Access embed link (https://planabar.msagent.ai), and I need to pass a custom identifier through the URL so it’s captured as a variable inside the workflow and ultimately written to my external database (Supabase) via an HTTP Request block.
My use case: My agent is shared with different business partners (wedding venues and planners), each with their own unique tracking code. I link out to the agent like this: Begin Planning | Planabar , which redirects/embeds to Planabar . I need the vendor value (e.g. WED-ATX-001) to be captured as a workflow variable so I can reference it later in an HTTP Request block that logs session data to Supabase — right now that field is coming through blank on every session.
Specific questions:
- Does the Guest Access embed/link method support reading custom URL query parameters (like
?vendor=WED-ATX-001) and exposing them as variables inside the workflow (e.g. via{{vendor}})? If so, how do I configure this — is there a setting I’m missing under User Inputs, Onboarding, or elsewhere in Agent Settings? - If Guest Access does not support this, is the Signed Access URL method (via
generate-signed-access-url) the correct alternative? If so:
- Can I pass custom key/value data (beyond just
userId) through that endpoint so it becomes available as a workflow variable, or isuserIdthe only field usable for this purpose? - Is there a way to embed a custom parameter into the
userIditself (e.g.userId: "vendor:WED-ATX-001") and parse it out inside the workflow, if there’s no dedicated field for arbitrary custom data?
- If neither approach directly supports this, what’s the recommended pattern for passing a small piece of external context (a referral/vendor code) into a workflow at session start, for a public-facing embedded agent with many distinct entry points?
Additional context: My Main.flow already starts with a Chat block and several onboarding-style User Inputs (user_message, input) that capture typed responses — I understand these are separate from URL-based variables, and I’m looking specifically for the URL-parameter mechanism, not another typed-input field.
Any documentation, examples, or configuration steps you can point me to would be hugely helpful. Happy to share screenshots of my current workflow setup if useful.
Thanks so much for your help!
Neil Ratliff
Planabar