Describe the question
The Freshworks CRM Node offers nice UI support. For the “Contact” → “Create” action it offers an additional field called “sales_accounts” which is implemented as a multiOption field with an attached loadOptionsMethod.
I do have the ID of one sales_account that I want the contact to create within from a previous node. But the n8n editor always fails the validation of the field input. I tried an array of string, an array of int, an object, an array of objects …
How to set that multiOption value dynamically?
{
displayName: 'Sales Accounts',
name: 'sales_accounts',
type: 'multiOptions',
default: [],
typeOptions: {
loadOptionsMethod: 'getAccounts',
},
description: 'Accounts which contact belongs to',
}
Please share the workflow
Share the output returned by the last node
"additionalFields.sales_accounts.map is not a function"
Information on your n8n setup
- n8n version: 0.172.0
- Database you’re using (default: SQLite): SQLite (localhost DEV)
- Running n8n with the execution process [own(default), main]: npm run dev
- Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm
Thank you very much