Calling another workflow: 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

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?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Mateus,

Welcome to the community :tada:

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!


Could you share your full workflow json?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.