Bulk-loading participants into Decidim

Loading a membership, staff list or census into Decidim is mostly a data-quality and identity problem, not a file upload. This page explains what maps cleanly, which import paths are documented, and how to sequence the work.

On this page

Bulk-loading participants into Decidim: what the move involves

Moving a membership list, staff directory or census into Decidim is mainly about identity matching, consent and verification, not about getting rows into a database. Each record has to be matched to an account that may already exist, checked for a lawful basis to be contacted and to participate, and linked to whatever verification the organization requires before that person can vote, sign or submit. The effort depends on two things you can measure before you start: the quality of the source data (duplicates, missing emails, inconsistent names, stale membership status) and how many of the people on the list already hold a Decidim account on the target instance.

Plan the work around the data, not the import screen. Decide which source field is the unique key, how you will handle people who appear under two addresses, and what happens to accounts that already exist, including whether their profile data may be overwritten. Confirm with your privacy and legal contacts which contact and participation rights apply to each list, because a participant record imported from a staff or membership system does not carry consent to receive participation notices. Confirm also which authorization methods your organization will accept, since the verification step in Decidim is configured per organization and per component, and a participant who is imported but not verified may still be unable to take restricted actions.

No import tool is a substitute for a reviewed mapping. Write a column-by-column mapping document, run the import against a copy of the production database, and have someone who owns the source list check a sample of matched and unmatched records by hand. Keep the source file, the mapping and the import log together so you can explain later how any account was created or changed. Ask your implementation partner to show, in writing, how the import handles existing accounts, failed rows and re-runs, because those behaviors decide whether a second import is safe to run.

Which participant data maps cleanly into Decidim and which does not

This table compares the fields most membership, staff and census sources carry against Decidim's user, organization and authorization concepts. Read each row as a decision: a check means the field has a direct place in Decidim, a dash means a custom handler or client decision is needed, and a cross means the data is not carried over and should be planned for separately.

Source fieldDecidim equivalentMapping statusWhat to confirm
Full nameUser name and nickname fieldsYesAgree how names are split, and who owns nickname generation for duplicates
Email addressUser email, used for login and invitationsYesCheck duplicates and case differences before import, since email is the identity key
Preferred localeUser locale, applied at sign-inYesConfirm the locale codes your organization uses match those enabled on the platform
Organization membershipOrganization-level user record in a multi-tenant installNot applicableDecide whether membership is a sign-in right or only a reporting attribute
Group membership (committees, districts)No native group object; often represented through user groups or a custom handlerNot applicableConfirm which groups must gate actions and whether they need a custom authorization handler
Verification status from a censusAuthorization records created by a verification method or a custom census handlerNot applicableDecide who verified the data, and whether the census file is evidence or a one-off input
Phone number for SMS verificationAvailable only if the SMS authorization method is configuredNot applicableConfirm the messaging provider, consent basis and whether numbers are stored at all
PasswordsNot imported; users set credentials through Decidim or a configured login providerNoPlan invitations or social or single sign-on login instead of password transfer
Session history and login logsNot carried over as user activityNoKeep the source logs under their own retention rules if they are needed for audit

Documented import paths for participant data

Decidim gives administrators several ways to get people into the platform, and each suits a different kind of list. The choice depends on whether the data is private, whether participants must be verified before acting, and how much developer time you can commit before go-live.

Private participant CSV import

The admin panel can import a CSV of participants that is kept private to the organization, which suits staff lists and membership rolls that should never be published. Confirm the exact menu path and the accepted columns in your version's admin documentation before preparing the file, because column names can change between releases. Test the import on a staging copy with a small sample first, and check how duplicate email addresses are handled. Most teams need developer support only when the file needs transformation before loading.

Decidim installation docs

Census verification through authorization handlers

Census checks are built on Decidim's authorization system, which lets an organization confirm that a person is on a list before allowing votes or signatures. A custom census handler is typically written by a developer, so plan that build as a separate work item. Decide which identifiers the handler will match on, and test how it responds to near-matches and people who appear twice. Confirm the handler's exact behavior in the version you run.

Decidim repository

Invitations to imported participants

Invitations let administrators send imported participants a message asking them to accept and activate an account. Check how invitation emails depend on SMTP configuration, since messages that never leave the server will look like a failed import to participants. Send a test invitation to a controlled address before the full run. Confirm invitation expiry and resend options in your version, because they affect the support load after launch.

Handling existing accounts

Imported rows that match an account already on the platform need an explicit rule, or people may end up with two profiles or lose access they already have. Decide in advance whether a match on email should update, skip or flag the record, and confirm what the import does in your version. Ask participants who already hold accounts to keep their existing login. Review a sample of matched rows manually before accepting the result.

Admin checks and console verification

After an import, the admin panel shows counts and lets staff spot-check individual participants, which covers most review needs. Rails console access gives developers direct queries for totals, unconfirmed accounts and authorization status, and it should be restricted to a small group with logged commands. Use the console for reconciliation against the source file, not for routine edits. Confirm which checks your version exposes in the admin panel and which need queries.

How the import runs from inventory to cutover

The sequence turns a membership, staff list or census into verified Decidim accounts in a controlled order, so each stage ends with a check the client can review before the next one starts. Client sign-off is required at three points: the scope of the source data, the pilot results and the cutover date.

  1. Inventory sources and flag duplicates

    DeployOpen and the client list every source that holds people who should get an account, such as a membership database, an HR export or a census file, and record which system is the authority for each field. The work includes detecting duplicate records, shared email addresses and entries that belong to people who have left. The step is complete when the client signs off the source list, the matching key (usually a verified email address plus a stable identifier) and the rules for resolving duplicates.

  2. Prepare and validate the private CSV

    DeployOpen converts the approved data into the private participant CSV format that the Decidim import expects, removing fields that are not needed and normalizing names, emails and locales. Each row is checked for format errors before anything reaches the platform, and rejected rows are returned to the client with a reason. The step is done when the file passes validation and the client confirms the column mapping and the count of rows expected to load.

  3. Run a pilot import into staging

    The validated file is loaded into a staging instance that matches production settings, including the organization configuration, authorization rules and email delivery. DeployOpen then compares the number of accounts created, skipped and updated against the expected totals and inspects a sample of records in the admin panel. The pilot is complete when the client accepts the results and any mismatches have a documented cause and fix.

  4. Verify census matches and existing accounts

    Where the list is used to grant voting or signing rights, each imported person is matched against any census record, and accounts that already exist are checked to see whether they should be merged, left alone or flagged. DeployOpen produces an exception list for the client's administrators to decide, rather than letting the import overwrite accounts silently. The step closes when the exception list is resolved and the client signs off the match outcomes.

  5. Test invitations and login paths

    DeployOpen sends invitation emails to a set of test participants, follows the invitation links, sets passwords or completes sign-in through the configured login method, and confirms that authorization gates behave as the client specified. Results are recorded for each login path and each locale used by the organization. The step is complete when the test log shows every path working and the client confirms the invitation wording and sender address.

  6. Run the old and new lists in parallel

    For a defined period, the old membership or staff process stays active while the Decidim accounts are used in parallel, and both are compared for joiners, leavers and changes. DeployOpen supports the client in reconciling differences and in agreeing which system is the source of truth at the end of the run. The parallel run is complete when the client confirms that differences are explained and that the list changes can be made in Decidim without manual workarounds.

  7. Cut over and decommission the old list

    On the agreed date, the final incremental import is loaded, invitations are sent to remaining participants and the old list is set to read-only or retired according to the client's records policy. DeployOpen runs a final count and login check on production and keeps the import files, logs and exception decisions as evidence. The step is complete when the client signs off the cutover report and the old list is archived or removed as agreed.

How source files, checks and Decidim accounts connect

The flow starts with the membership, staff list or census export held by the client, which is cleaned and checked before anything reaches Decidim. Each file moves through a staging instance first, where the census verification and invitation or login behavior are tested with real records. Only after those checks pass does the same load move to production. Personal data stays inside the trust boundary of the client's own infrastructure throughout, so confirm where every copy of the file lives and who can read it.

Participant data moves through staging checks before the production load.

What happens to participants who already have Decidim accounts

Decide what happens to people who already have a Decidim account before the first row is imported. Each row in a membership, staff or census file falls into one of three cases: no account exists, an account exists under the same email address, or an account exists under a different address for the same person. Confirm in your target version how the private participant import treats the first two cases, because a careless import can create duplicate accounts or overwrite details on an existing profile. Then set one rule for each case: merge the row into the existing account, skip it and report it, or send an invitation and ask the person to claim the account. Write the rules down, since your data protection lead will likely ask which rule applied to a given person.

Authorization and login settings can change the outcome even when the import is correct. Decidim includes identity verification and authorization systems that can restrict actions such as voting or signing to verified participants, so an existing verified account may keep that status while a newly created account must verify again. Check which authorizations are enabled for the organization and whether an existing verification is tied to the account you plan to keep. Social login also matters. Facebook, Twitter, Google and Decidim-to-Decidim OAuth 2.0 are available out of the box and can be set globally or per organization, so a person who first signed in through a provider may have no password to sign in with. Confirm these settings against the social providers documentation for your version.

Test the rules on a staging copy using a small file that includes each case: a new address, an exact email match, a match that differs only in capitalization, and a person whose only sign-in route is a social provider. Record what the platform did for each row, then check the account owner and verification status afterward. Plan the messages people receive, because an unexpected claim or invitation email is a common source of complaints and support requests. Ask your implementation partner or vendor to confirm in writing which matching behavior applies in your version and where skipped rows are reported. Keep that report as the record the membership team uses to resolve exceptions.

How the effort changes with the source and the list

A clean list is one where every row has a unique, valid email address, the columns are stable and the people in it have a clear reason to be invited. In this case the work is mostly preparation: normalizing the file, agreeing which fields map to Decidim user attributes and confirming that the list is the approved one. The import itself is comparatively small, and most of the effort goes into the review loop with the data owner before anything is loaded.

  • Deduplication: Duplicate addresses with different capitalization or stray spaces are the most common surprise, so the file is normalized and checked for repeats before it is loaded.
  • Column mapping: Each column is matched to an attribute or dropped. Unused columns are removed so they do not become personal data that nobody needs.
  • Invitation scope: The team decides whether the import creates accounts only, or whether it also sends invitations, and who sends them.
  • Sample run: A small batch is loaded to a staging copy first so the result can be checked against the source row by row.
  • Owner sign-off: The list owner confirms the counts and the handling of rejected rows in writing.

Before committing to a plan, ask the implementer to show how they will handle duplicates and rejected rows, and confirm with your data owner that the file really is the approved list.

What drives the cost and duration of a participant import

This table lists the factors that change how much a participant import costs and how long it takes, and whether each one is paid once or recurs. Read it as a checklist for scoping: each row names what to ask a partner or internal team to price separately. The main takeaway is that data quality and the number of sources usually matter more than the import tool itself.

DriverOne-time or recurringWhy it moves cost or effortWhat to ask for in a quote
Data quality and duplicate rateOne-timeMessy names, missing emails and duplicate records need cleaning and matching rules before any CSV loads cleanly.Cleansing and deduplication steps, who makes matching decisions, and how rejected rows are reported back.
Number of source listsOne-timeEach membership list, staff list or census has its own column layout, codes and owners, so each needs its own mapping and sign-off.A mapping document per source and a named data owner for each list.
Custom census handlerOne-time, with recurring upkeepA census that cannot be matched with the standard CSV or authorization methods needs custom code, which then has to be maintained through Decidim upgrades.Whether a handler is in scope, its tests, and who maintains it after each minor version upgrade.
Consent and notice requirementsOne-timeDeciding which participants need notice, consent records or a privacy statement before accounts are created affects the import design and the messages sent.Confirmation of the legal basis and the notice text, and who approves them before import.
Identity provider integrationOne-time, with recurring supportLinking imported accounts to an existing single sign-on source requires attribute mapping, testing of login flows and handling of changed identifiers.Which identity provider, the attributes to map, and how login for existing accounts is tested.
Number of organizationsOne-time per organization, plus recurring admin timeEach Decidim organization in a multi-tenant setup needs its own import run, invitations and checks, which multiplies the work.Per-organization effort, shared templates, and who runs each import.
Invitation and existing account handlingOne-timeParticipants who already have accounts need a defined rule for merging, updating or skipping, and invitations must be tested end to end.The rule for existing accounts, the invitation wording, and the expected number of duplicate accounts found in a test run.
Testing cyclesOne-time, repeated on re-runsEach test load on a copy of the database reveals new errors, and every re-run adds time before the production load.How many test loads are included, the test environment used, and what counts as an accepted result.

What usually goes wrong with participant imports

Participant imports rarely fail in one dramatic way. They fail through small mismatches between the source list, the accounts already on the platform and the environment the data lands in. The cards below cover the failures we see most often, each with a check to run before the import goes live.

Duplicate or mismatched accounts

A participant who already has a Decidim account under a slightly different email address, or a name typed in another case, can end up with two profiles. Votes, follows and proposal authorship then split across records, and support staff cannot tell which one is the real person. Before importing, match the census against existing accounts on a normalized email address and agree a rule for what happens when a match is found, such as updating the existing account or flagging the row for review. Run the matching on a copy first and count the matches and conflicts.

Wrong verification status

A CSV import can mark people as verified who were never checked, or leave verified people unverified after an update. Either outcome changes who can vote, sign or submit in restricted components, and the error may only surface when a participant tries to act. Confirm which authorization or census handler the imported status maps to, and test one verified and one unverified account end to end. Keep the verification source recorded in your import file so the status can be explained later.

Emails bounced or never sent

Invitations depend on the SMTP configuration, the sender domain and the address format in the file. Malformed addresses, a missing sender authentication record or a mail queue that is not running will leave participants with no invitation, and the import will look successful. Send a test invitation to seed addresses on each mail provider your participants use, and confirm that background jobs are processing the queue before the first real batch. Track bounces and reconcile them against the file.

Decidim installation docs

Personal data copied into the wrong environment

Staging and test instances often receive a copy of the production database, including the census. Real names, emails and verification data then sit on servers with weaker access controls and may be emailed by mistake. Load census data only into the environment that is meant to hold it, use anonymized or synthetic files for rehearsals, and remove imported files from working directories and shared drives once the import is confirmed. Write this rule into the import runbook.

Participants locked out at cutover

If accounts are imported before the login path is ready, participants may find that their password reset emails, social logins or SSO links do not work on the day the platform opens. Confirm the sign-in methods, the authentication provider settings and the password reset flow in the target environment before cutover. Plan a short rollback window and a published support contact for participants who cannot sign in during the first days.

Questions buyers ask before importing participants into Decidim

How much does it cost to bulk-load participants into Decidim?

Cost depends on the written scope, which usually covers requirements, data cleaning, import tooling, the verification setup, staging rehearsals and cutover support. Most of this is one-time work. Recurring costs are the hosting, email delivery and any upgrade or support retainer you choose to keep after launch. The biggest cost drivers are the number of source systems, how messy the data is, and whether participants must be verified before they can act. Ask for a quote that lists each deliverable, who performs it, what the client must supply, and which costs recur. DeployOpen does not publish prices, so a quote follows from the agreed scope.

How long does a participant import into Decidim take?

The duration depends on the record count, the quality of the source data, the verification method and how many approval rounds the client needs. Rehearsing the import on a staging copy usually takes longer than the production load itself, because issues found in rehearsal must be fixed and retested. No duration applies to every project, so ask for a timeline in the written scope that shows separate phases for data preparation, staging, cutover and post-launch checks. Confirm which dates depend on client sign-offs, such as approving the data rules or the census.

What data must the client provide for a participant import?

The client owns the data and must provide it in a documented form before work starts. Three inputs matter most. The first is the data owner, a named person who approves the field list, the matching rules and the final load. The second is the consent basis, meaning the legal or policy reason each participant's data may be imported and contacted, which the client's privacy and legal teams should confirm. The third is the census rules: who qualifies, how duplicates are resolved, which records are excluded, and how leavers are removed. Without these answers, no import script can be accepted.

Can our internal team load participants into Decidim without a partner?

Yes, if your team has the skills and time to do the work safely. The team needs people who can run a Rails and PostgreSQL application, manage a staging copy, test SMTP delivery and keep a tested backup before any write. It also needs someone who can review the census rules with the data owner and sign off the results. Teams that lack these skills, or that must meet a fixed deadline, often bring in a partner for the import only. Either way, check the Decidim documentation for your exact version before changing data, and document every step so the load can be repeated or reversed.

What happens to existing Decidim accounts during a bulk import?

Existing accounts are the main risk in a bulk import, so decide the rules before loading anything. Set a single matching key, usually a verified email address, and define what happens when a record matches an account that already exists, when two records share an address, and when an account has linked a social login. Test each case on a staging copy with deliberately duplicated records. Confirm how your Decidim version handles login through social providers, including Facebook, Twitter, Google and Decidim-to-Decidim OAuth 2.0, since linked identities can affect which account a person signs into. Record the decisions in the census rules.

Do we need to retest Decidim after the participant cutover?

Yes. A retest after cutover checks that the live platform behaves as the census rules say. Test a sample of accounts from each source group: sign-in, password reset and invitation emails, profile details, and the roles or spaces each person should see. If the platform restricts voting, signing or other actions to verified participants, test those restrictions with accounts that are verified and accounts that are not. Repeat the key checks after any version upgrade, because upgrades can change database structures. Ask for the retest in the written scope and agree the pass criteria before cutover.

Which Decidim version should we import participants into?

Import into a version that receives security updates. Decidim supports only the last two minor versions until version 1.0, which means 0.32.x and 0.31.x at the time of the researched facts, and 0.30.x and earlier are not supported. If your platform runs an older release, upgrade one minor version at a time, following each release's upgrade instructions and backing up the database first, because some releases change database structures. Doing the upgrade before the import keeps the load tested against the code you will run in production. Confirm the current supported versions in Decidim's update documentation before you plan the work.

Handling personal data during the import

The most important decision in a bulk participant import is where the source file lives before, during and after it reaches Decidim. A membership list, staff roster or census export usually contains names, email addresses and sometimes national identifiers, and every copy of that file is a copy you must account for. Before the import starts, agree in writing which system holds the original export, which workstation or share is used to prepare the CSV, and who deletes the working copies once the load is verified. Confirm these locations with the data owner, not only with the team running the import.

Staging copies deserve the same scrutiny as production data. Limit access to the people who prepare and verify the file, and review who holds administrator rights in the Decidim admin panel, since those accounts can see every imported participant. Check that the staging environment, if you run one, is hosted under the same access rules as production and is not populated with a copy of real participant data unless the data owner has approved it. Ask your platform team to confirm where Decidim's database and uploaded files are stored and backed up, because an import file that was attached or retained in storage will be included in those backups. Set a retention date for every import file and record when it was deleted.

Participants should know that their data is being loaded and what they can do about it. Agree the notice text with the data owner before invitations go out, and state the purpose of the import, the source of the data and how to contact the organization with questions. The invitation email is the natural place for this, and the wording should match what the organization has already published. For the wider controls covering retention schedules, access reviews and audit trails, see the Decidim privacy and compliance guidance in your planning, and ask your compliance lead to confirm which obligations apply in your jurisdiction. This page does not assess legal compliance.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.