To move data from ActiveCampaign to Ldap automatically, use a ready-made scenario — no manual exports.
You can launch this ActiveCampaign + Ldap integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.