I’m trying to import data from a bash script, I would like to import contacts (firstname,email) from a csv file and add them to a segment.
It seems that ./console mautic:import is the solution but I do not find any documentation ? I found some old question about put csv in app/cache/import/ but folder does not exist and if I create it, csv is not recognized when I run mastic:import.
From my experience this is working until 4.x
I have not tried it with 5.x or 6, as it is I do not think many plugins will be ported to 6 as this is going to be such a short release.