Mautic Community Forums

Importing csv with contacts via API

I have lots of CSVs with info about contacts and I want to import them all into Mautic. Some of the contacts may already exist in Mautic and some info can be missing. It is too long to import all these files and map the fields to contact fields manually.
Is there a way to use API for importing CSVs and mapping the fields? I could not find it in the docs.

Hi,

Have you looked at https://github.com/mtcextendee/mautic-custom-import-bundle/blob/master/README.md
It is not via API, however you can use it to setup auto imports via a dump file, so what we have done is pull a csv from clients ftp site, scp it over to mautic instance and setup cronjob to run auto import.

Good luck

1 Like