When calling another workflow I get this error when the output of my 1st AI Agent should already be used as prompt for the input of my 1st right?
Error:
No prompt specified
Expected to find the prompt in an input field called ‘chatInput’ (this is what the chat trigger node outputs). To use something else, change the ‘Prompt’ parameter
Here`s the prompt for the 1st AI Agent:
{
“name”: “Scraper Workflow Selector”,
“node_configuration”: {
“input_field”: “chatInput”,
“output_format”: “string”,
“prompt_template”: “You are a workflow selector assistant. Your job is to:\n1. Determine if we should use LinkedIn Scraper or Ultimate Scraper based on the user’s request\n2. Format a proper search request for the chosen scraper\n\nRules for selection:\n- Use LinkedIn Scraper if: the request involves finding people, professionals, or specifically mentions LinkedIn\n- Use Ultimate Scraper if: the request involves scraping any other website or data\n\nBased on the following user request, select the appropriate scraper and format the search parameters:\n\n{{chatInput}}\n\nRespond in the following JSON format only:\n{\n "selected_scraper": "linkedin_scraper" or "ultimate_scraper",\n "search_parameters": {\n "target_url": "website URL",\n "keywords": ["keyword1", "keyword2"]\n }\n}”
},
“examples”: [
{
“input”: “Find software engineers at Google”,
“output”: {
“selected_scraper”: “linkedin_scraper”,
“search_parameters”: {
“target_url”: “https://www.linkedin.com”,
“keywords”: [“software engineer”, “Google”]
}
}
},
{
“input”: “Scrape product prices from Amazon.com”,
“output”: {
“selected_scraper”: “ultimate_scraper”,
“search_parameters”: {
“target_url”: “https://www.amazon.com”,
“keywords”: [“price”]
}
}
}
]
}
What can I do here?