Import emailadresses, name, lastname to tokentable from xml

More
4 years 7 months ago #92015 by adishardis
adishardis created the topic: Import emailadresses, name, lastname to tokentable from xml
I'm trying to set up a workflow where I daily get a xml file to our ftp with firstname, lastname, date and email.

Via php I want to import the emails not already in the tokentable.

and then via a cronjob activate sending mails withe "date" older than 3 days.

Has anybody done anything like this? Is it possible, is there a better way?

Any thought would be much appreciated!

Sinceraly
Adam

Please Log in to join the conversation.

More
4 years 7 months ago #92027 by DenisChenu
DenisChenu replied the topic: Import emailadresses, name, lastname to tokentable from xml

adishardis wrote: Is it possible, is there a better way?

With cronjob and PHP, all is possible. But talke time ;).

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 7 months ago #92035 by adishardis
adishardis replied the topic: Import emailadresses, name, lastname to tokentable from xml
Yea, that's what I thought. Me and my big mouth told my boss that I could get that done in a couple of weeks :D

Well I need to get started somewhere and I have an approximate idea of how to extract the data from the xml-file.

The next thing would be to create a token in php and add them to the array from the xml file.
Insert the array to lime_token_table.

Then via a cronjob schedule sending emails depending on the attribute "date".

Is there something I'm missing? What step do you think would take the longest to code?

Take care!

Adam

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now