Describe the problem/error/question
I´m trying to pass some values to another workflow with Call n8n Workflow Tool, but when I include an email address in a string variable toRecipients, it gives me this error:
**Invalid input for 'toRecipients' [item 0]**
What is the error message (if any)?
**Invalid input for 'toRecipients' [item 0]**
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
{
"nodes": [
{
"parameters": {
"workflowId": {
"__rl": true,
"value": "Onu8WKS3lhnESXlU",
"mode": "list",
"cachedResultName": "CAV SEND"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {
"Subject": "={{ $fromAI('Subject', ``, 'string') }}",
"Description": "={{ $fromAI('Description', ``, 'string') }}",
"FileToSend": "={{ $fromAI('FileToSend', ``, 'string') }}",
"toRecipients": "={{ $fromAI('toRecipients', ``, 'string') }}"
},
"matchingColumns": [
"email"
],
"schema": [
{
"id": "toRecipients",
"displayName": "toRecipients",
"required": false,
"defaultMatch": false,
"display": true,
"canBeUsedToMatch": true,
"type": "array",
"removed": false
},
{
"id": "Subject",
"displayName": "Subject",
"required": false,
"defaultMatch": false,
"display": true,
"canBeUsedToMatch": true,
"type": "string",
"removed": false
},
{
"id": "Description",
"displayName": "Description",
"required": false,
"defaultMatch": false,
"display": true,
"canBeUsedToMatch": true,
"type": "string",
"removed": false
},
{
"id": "FileToSend",
"displayName": "FileToSend",
"required": false,
"defaultMatch": false,
"display": true,
"canBeUsedToMatch": true,
"type": "string",
"removed": false
}
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
}
},
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"typeVersion": 2.2,
"position": [
2160,
220
],
"id": "d9069cf4-61eb-4717-9879-46c2ba9cc77a",
"name": "Envia Correo"
}
],
"connections": {
"Envia Correo": {
"ai_tool": [
[]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "d0d387a4afea5ff11a1d87f9f8e0e55545df3c270af9577077827397f764d502"
}
}
## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->
**Invalid input for 'toRecipients' [item 0]**
## Information on your n8n setup
- **n8n version:**
`1.99.1 (Self Hosted)`
-
- **Database (default: SQLite):**
- **n8n EXECUTIONS_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- cloud, Docker server
-
- **Operating system:**
Sequioia 15.5 (24F74) using Chrome