Import surveys from LimeSurvey and Qualtrics
If your survey runs in LimeSurvey or Qualtrics, DataLion can fetch the responses straight from there, daily or on another schedule. You need three things:
- a connector with the credentials of your survey account,
- a project for the survey,
- a scheduled import in the project that links the connector and the survey.
A successful connection test shows that DataLion can reach your account and how many surveys it holds. The scheduled import from step 3 is what brings the responses into a project.
Before you start
- Administrator rights in DataLion.
- LimeSurvey: the RemoteControl interface is switched on. In LimeSurvey, go to Configuration → Global settings → Interfaces and set it to JSON-RPC. You also need a LimeSurvey user who can see the surveys and their responses.
- Qualtrics: an API token, generated under Account settings → Qualtrics IDs, with permission to read surveys and export responses. You also need the address of your data center, such as
https://fra1.qualtrics.com. - Your survey platform’s server can be reached from the public internet. DataLion refuses addresses on a private network or intranet.
Step 1: Create a connector

- Open Admin → Connectors and click New connector.
- Enter a Name, for example “LimeSurvey”.
- Choose LimeSurvey or Qualtrics as the Type.
- Enter the Base URL:
- LimeSurvey: the RemoteControl URL of your installation. It ends in
/index.php/admin/remotecontrol, for examplehttps://survey.example.org/index.php/admin/remotecontrol. - Qualtrics: your data center address, for example
https://fra1.qualtrics.com.
- LimeSurvey: the RemoteControl URL of your installation. It ends in
- For LimeSurvey, fill in User name and Password. For Qualtrics, fill in API token.
- Click Save.
- DataLion then opens the Edit connector page. Click Test connection there.
If the test works, DataLion reports something like “Signed in as datalion-import. 19 surveys are available.” The list under Admin → Connectors then shows Last checked and the Status (Healthy or Failing).
If the test fails, the message usually names the cause:
- “The URL did not answer as LimeSurvey RemoteControl”: the URL doesn’t end in
/index.php/admin/remotecontrol, or JSON-RPC isn’t switched on in LimeSurvey. - “LimeSurvey refused the login”: the user name or password is wrong.
- A redirect (HTTP 301 or 302): DataLion doesn’t follow redirects. Enter the final address, often the one with
https://instead ofhttp://.
You can use one connector in as many projects as you like. When the password or token changes, you update it in one place. If you leave a secret field empty while editing, DataLion keeps the stored value.
Step 2: Create a project
Under Admin → Projects, click New and create a project for the survey. One import fetches exactly one survey, so each further survey gets its own project with its own import.
You don’t need to upload data first. The first pull fills the project’s data table and creates the codebook.
Step 3: Set up a scheduled import

- Open the project in the backend and choose Data Sources → Scheduled imports on the left.
- Click New.

In the Source section:
- Under Auto import type, choose Survey platform pull (LimeSurvey, Qualtrics).
- Leave Target Table empty. The import then writes into the project’s data table. You only need a separate target table if the project already holds other data you want to keep.
- Under Connector, choose the connector from step 1.
- Click Load surveys. DataLion fetches the survey list of your account and reports, for example, “Surveys loaded: 19”.
- Under Survey, choose the survey you want. Surveys that aren’t activated in LimeSurvey are marked “inactive”.
- Choose the Pull mode:
- Full: replace all responses fetches every response on each run and replaces the whole target table. Good for smaller surveys and when older responses may still change.
- Incremental: new and changed responses fetches only new responses and those that weren’t complete yet, and replaces only those rows. This saves time on large surveys that are still in the field.

In the Schedule section:
- Under Auto import frequency, choose how often it runs, such as Daily. Hourly or Weekly also suit surveys that are still running.
- For Daily, pick the time under Auto import frequency: hour, for example 06:00. For Weekly, also pick the day. Without an hour, a daily or weekly import doesn’t start.
In the Behavior section:
- Set Auto import handling of new columns to Add to table. Questions you add to the questionnaire later then come into the table on the next run.
- Under Auto import email notifications settings, choose whether DataLion emails you on errors, on each import, or not at all.
- Click Save.
What happens on the first run
The import runs at the next time on your schedule. It
- writes the responses into the project’s data table, one row per response,
- creates the questions in the codebook, with their answer options and question texts.
On each later run, DataLion adds new questions and answer options to the codebook. Labels you changed in the codebook yourself are kept.
The list under Data Sources → Scheduled imports shows Last run, Status and, if there was one, Last error for each import. If a run couldn’t bring in some questions, the import’s edit page lists them under “The last pull did not import:”.
From there you build dashboards and reports as in any other project. They update with every run.
Common questions
The connection test shows my surveys, but the project has no data. The connector only stores the credentials. Set up a scheduled import in the project (step 3) and wait for its first run.
The import says the survey is not activated. LimeSurvey only stores responses once a survey is activated, so a survey that isn’t activated has nothing to export. Activate it in LimeSurvey; the next scheduled run then fetches the responses.
The target table already holds other data. DataLion won’t overwrite a table that holds data from another source, such as an Excel upload. Enter a new target table, or create a separate project for the survey.
The rate limit has been reached. Survey platforms limit how many requests an account may send in a given time. DataLion then stops the run and tries again at the next scheduled time. If many imports use the same account, move some of them to a less frequent schedule.
For more on data tables and updates, see Data sources and data tables and Data updates.