What is your goal?
Have the new Make AI agent generate a system prompt and give user input based on research it does on the input I give it.
What is the problem & what have you tried?
I don’t understand how I can map a field that the agent itself should generate. In the Gemini module, as a tool, most fields can be set to let the agent decide, but the user prompt cannot. So, how do I map this user prompt?
Error messages or input/output bundles
Function ‘parseResponseSchema’ finished with error! Function ‘removeTypeKeys’ finished with error! Cannot read properties of undefined (reading ‘forEach’)
Screenshots (scenario flow, module settings, errors)
1 Like
Hey Jim,
sorry I don’t have a gemini connection to test with, but if you toggle the map next to Messages then the option to let the agent decide should appear.
Hi @Jim_Zwetsloot ,
As shown in the screenshot, you can enable the toggle next to the Message Type field to activate mapping. Once the toggle is turned on, the mappable parameter panel will become visible, allowing you to map the required fields from the AI Agent output as per your requirement.
Could you please confirm which module the issue is occurring in?
This will help us analyze the configuration more accurately and troubleshoot it more efficiently.
With regards,
Mohamed Jahar
@Stoyan_Vatov the Map toggle is on but there is no option to let the agent decide. For all the other functions, like the system prompt, etc., that option is available but for the user prompt it is not available, apparently.
@Mohamed_Jahar check my first screenshot. When I am trying to map a field, I can of course only map fields in previous modules. The Gemini module that I am using is being configured as a tool for the AI agent module. I can not map any fields from the AI agent since that’s the current module and the AI agent should generate the user prompt for the Gemini tool.
In your screenshot it seems to be the next module after the agent so then of course you can map but in my case that’s not the case.
Check my screenshot:
So the system prompt is just being generated by the agent because you could mark the setting “let agent decide” but apparently for the user prompt in the Gemini module that’s not possible.
So is there a way to let the agent decide that it should generate the user prompt in the Gemini tool that I gave it or is there a way to map between the agent and the tool? Again the field is not coming from a previous module; the agent itself should generate the field.
@Stoyan_Vatov yes I see this but I hit this toggle. There is still no possibility to let the agent decide. You still will need to map the field yourself. For the other fields this is not the case but for this field you’ll need to map it yourself. And the question is: how do you do that or is this maybe just a bug in the Gemini module? Since for all other AI modules, like Perplexity or OpenAI, I don’t see this problem.
Yeah this is strange, cause this is not the case for the other agents as well. Best bet is to create a support ticket and ask them if this is intended or not (I don’t think it should be).
1 Like