Mapping tells Vega which column in your source data goes into which Vega field. You do it on step 3 of the import wizard, Map fields. If you started from a template, the mapping is already done, and you only need to check it.
In this article
- Sections
- Entries
- The identity entry
- Suggest mappings
- Conditions and validation
- Attribute rules
- Warnings while you map
Sections
The Sections list on the left shows the kinds of Vega record you can import:
- Contacts, Addresses, Telecoms (phone numbers and emails), ExternalIDs and Relationships
- Notes and Lists
- Payments, PaymentAttributes and PaymentDistributions
- RecurringPayments, RecurringPaymentAttributes and RecurringPaymentDistributions
Map only the sections your data feeds. The same editor is used when you edit a template.
- Select a section. If it shows Not yet added, select + Initialize section, or use Add section.
- Select + Add entry for each field you want to fill.
A section can have its own condition, so it is only used for some rows. For example, add a Payments section condition so a payment is only created when the status is succeeded. Select + Add section condition.
Entries
Each entry fills one Vega field. Select an entry to open it.
| Field | What it does |
|---|---|
| Source field | The column in your source data. Choose (none — constant) to send the same value on every row. |
| Target field (Vega) | The Vega field it fills. Pick from the list. |
| Default value | Used when the source value is empty, or as the value on every row for a constant. |
| Type | String, Integer, Decimal, Date or Bool. Keep String for yes/no and money fields, so a wrong value is reported instead of quietly becoming false or 0. |
| Condition (include if) | Fills the field only when a condition is true. Select + add condition. |
A closed entry reads source → target, with badges: D (default value), if (condition), V (validation) and ID (identity).
The identity entry
The first entry in each section is the Identity entry (ImportLinkID), marked ID. It is the record's ID in the source system. Vega uses it to recognise the same record on later runs, and to link a contact to its payments and other records. Use a source ID that never changes.
Suggest mappings
For a file, an Other REST API import or a template, Vega can suggest mappings by matching your column names to Vega field names. It matches names only: it doesn't look at your data.
- Select Suggest mappings in a section, or Suggest mappings for all. For a file or REST API import, confirm the columns on step 2 first.
- Check each suggestion. It shows how it matched: Same name or Common variant. Tick Show weaker matches to also see Shares words.
- Select Accept or Dismiss on each one, or Accept all. Undo takes back your last accept, until you make another change.
Accept all skips suggestions marked ⚠, such as money fields: check and accept those one by one. Some fields are never suggested and must be mapped yourself: ID fields, yes/no and consent fields, and bank or card fields. If a column matches more than one field, map it yourself.
Conditions and validation
A condition compares a source column with a value: equals, does not equal, contains, does not contain, greater than, less than, is empty or is not empty. Use conditions for rules such as "skip refunded donations" or "only active members".
Select + Add validation on an entry to check its values:
-
Input date format(s): the format dates arrive in, for example
dd/MM/yyyy. Vega converts them for you. - Require positive amount and Minimum amount, for payments.
- Max length, and Regex for a pattern the value must match.
- Severity on failure: Error stops the row importing. Warning notes the problem and the row still imports.
Attribute rules
Attribute rules add Vega attributes to contacts from your source data, for example to tag everyone from a campaign.
- Select Attribute Rules in the Sections list, then + Add attribute rule.
- Enter the Attribute Group and Attribute Type, for example Regular Giving. Select + Map from source column to take them from a column instead, so each row can have its own.
- Enter the Attribute (optional) name to use on every row, or leave it blank to take it from a column under Fields.
- Add any Fields, each with a Field name, Source column and Default.
- Select + Add rule condition under Rule if to apply the rule only to some rows.
Attributes that don't exist yet are created in Vega.
Warnings while you map
| Warning | What to do |
|---|---|
| "… isn't a recognized column for … – it will be silently ignored on import." | Pick a target field from the list. |
| "Not a column this source emits – it would be read as empty on import" | Column names must match exactly, including capitals. Pick the source field from the list. |
| "Attribute name needs a source column" or "Attribute type needs a source column" | Pick a source column, or enter a value for every row. |
Vega checks the whole mapping again when a run is staged. Any problem shows on the run in History.
Next steps
Finish the wizard as described in Creating an import, then see Running and scheduling.
Related articles
Some content in this article may have been developed with the assistance of AI tools and reviewed by staff.
Comments
0 comments
Please sign in to leave a comment.