I am trying to search all the contacts in mautic to see if a record exists before I create a new record. I have the Mautic Node is connected via Oauth2. Contacts, get all, return all. I am using the search option with expression
{
"csa_no": "{{$json["Paddler 1 CSA"]}}"
}
csa_no is a mautic custom field and I have made sure there is a record in Mautic that is has the Paddler 1 CSA / csa_no field populated with the results of the data query. But the search returns no data.
Am I searching Mautic correctly? I have tried to search via email as well for a known email with the same no data result.
Please share the workflow
Share the output returned by the last node
No data
Information on your n8n setup
n8n version: 1.0
Database you’re using (default: SQLite):
Running n8n with the execution process [own(default), main]:
Try it like this: csa_no:valueyouarelookingfor. Do not use an expression. Also, if you want to do multiple conditions using spaces. For example: csa_no:123 active:true
yes, I see that, but it’s returning them as a single item I think and so I was not seeing them. I think I need to split them into items to be able to keep working with the data? Busy struggling with that step. I am learning 1 node and 1 set at a time.
Workflow is incomplete but here is as far as I have gotten.