I’ve created an agent with Webhook as the run mode. Whenever an Airtable record is created in a specific table, it sends that record to the Mindstudio webhook via Airtable automations. There are no problems with this process.
After I get that record via a webhook, I can’t use it with any blocks, for example “text block”.
Let’s say there is a variable called “email”, it says on this page ( Webhook-Triggered | MindStudio University ) that I can call that variable by “{{webhookParams.email}}”, but I can’t. I only got the message attached. Please help.
It looks like you’re receiving a text string instead of a valid JSON object, which is why extraction variables like {{webhookParams.email}} aren’t working.
You can either try adjusting the payload Airtable sends to your Agent or add a Generate Text block with a prompt to convert the data into a valid JSON array.
Alternatively, you can pass the Record ID through the webhook and use the native Get Record block for Airtable in MindStudio to access the data directly.
I can’t believe how this incredibly simple process can’t be done simply. I asked and worked with ChatGPT for hours, for hours, and still nothing!
I can’t use webhookParams.X ever! I’m sending the right JSON in the right way, no problems there. But I can’t reach webhookParams.X.
This should be a simple thing IMHO. This is a platform for AI Agents, and databases like Airtable are so popular. If I can’t solve this in the next couple of hours, I’ll ditch Mindstudio for good. This can’t be the way to trigger an agent, this should be much more simpler.