For the complete documentation index, see llms.txt. This page is also available as Markdown.

NationBuilder

Connect Anedot to NationBuilder to sync donation and lead data, create or update supporter records, and relay custom field information from Action Pages.

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs; this page is available as Markdown.

NationBuilder

NationBuilder is a powerful CRM and CMS platform widely used by nonprofits and political organizations to manage supporters, campaigns, and content.

Connecting Anedot to NationBuilder

Follow these steps to connect Anedot to NationBuilder:

  1. In your Anedot account, navigate to Settings -> Integrations -> Directory.

  2. Choose Action Pages:

    • All Action Pages are included by default.

    • To include only specific pages, enter their IDs (comma-separated).

  3. Optionally, limit the connection to Team-specific data.

  4. Enter your Nation Name.

  5. Optionally, check the boxes to send Fund Data or Commitment Data.

    • Note: These options require extra setup.

  6. Click Save. You'll be redirected to NationBuilder to log in and approve the connection.

You can update pages, Team settings, or login details anytime.

Setup Custom Fields in NationBuilder

In order to relay the Transaction ID, Fund, and/or Commitment custom field data to NationBuilder, custom fields must be set up within NationBuilder.

Create Custom Fields in NationBuilder

NationBuilder — Settings → Custom fields — New custom field
  1. Access the Settings tab in NationBuilder.

  2. Under Nation defaults, select the Custom Fields tab.

  3. Click the New Custom Field button in the top right corner.

  4. Select the object you would like to add custom fields to.

    • Donations to Send Fund Data.

    • People (Signup) to Send Commitment Data.

  5. Enter the Name, Slug, and Field Type (use the charts below).

  6. Click Create Field to complete the setup.

If you do not have access to create Custom Fields within NationBuilder, please contact NationBuilder Support directly.

Donations Send Fund Data

NationBuilder — Custom fields → Donations with fund fields
Field Name
Slug
Field Type

fund_id

fund_id

Text

fund_internal_identifier

fund_internal_identifier

Text

transaction_id

transaction_id

Text

commitment_id

commitment_id

Text

People Send Commitment Data

NationBuilder — Custom fields → People with commitment fields
Field Name
Slug
Field Type

cancelled_on

cancelled_on

Text

created_on

created_on

Text

frequency

frequency

Text

action_page_name

action_page_name

Text

amount

amount

Number

status

status

Text

birthdate

birthdate

Text

Data Relays

Anedot sends data to NationBuilder based on the type of Action Page used:

1. Financial Pages (Donation Pages)

  • Anedot relays all donation details along with any custom field data.

  • A "Person" event is triggered for each submission:

    • If the donor is new, a new contact is created in NationBuilder.

    • If the donor already exists, their contact record is updated.

2. Non-Financial Pages (Lead Pages)

  • Anedot sends only a "Person" event-no donation data is included.

3. Viewing Donor Data in NationBuilder

  • Donor information will appear in the People tab and on the NationBuilder Dashboard.

  • If a donor starts a recurring gift, NationBuilder will automatically apply a "recurring" tag to their profile when the commitment is created.

Field Mapping

The Anedot Fields match the Submission's Raw Data, and the NationBuilder Fields match the Request Body relay.

Person Fields

Anedot Field
NationBuilder Field

"recurring" or null

tags

email

email

lastName

last_name

firstName

first_name

address (postalCode) (city) (region) (line1) (line2) (country)

mailing_address (zip) (city) (state) (address1) (address2) (country_code)

birthdate (birthday custom field)

birthdate (birthday custom field response, appears under Demographics)

*cancelled_on

cancelled_on (timestamp of when the commitment was cancelled (e.g. 2024-03-29T12:38:38Z))

*created_at

created_on (timestamp of when the commitment was created (e.g. 2024-03-29T12:34:11Z))

*frequency

frequency (commitment frequency (e.g. monthly))

*action_page_name

action_page_name (name of the commitment's AP (e.g. Page 6))

*amount

amount (commitment amount (e.g. 25 ))

*status

status (commitment status (e.g. active or inactive))

*Fields associated with the Send Commitment Data functionality.

Donation Fields

The Anedot Fields match the Submission's Raw Data (or the *custom hidden fields) and the NationBuilder Fields match the Request Body relay.

Anedot Field
NationBuilder Field

*note

note

email

email

person id (from the NB Person Relay Response Body)

donor_id

*election_cycle

election_cycle

*election_period

election_period

*election_period_ngp_code

election_period_ngp_code

employerName

employer

lastName

last_name

firstName

first_name

*is_private

is_private

*membership_name

membership_name

occupation

occupation

**utm_campaign

mailing_slug

paymentRequests responseTime

succeeded_at

donations (employerAddressPostalCode) (employerAddressCity) (employerAddressRegion) (employerAddressLine1) (employerAddressLine2)

work_address (zip) (city) (state) (address1) (address2)

amount

amount_in_cents

paymentMethod (postalCode) (city) (region) (line1) (line2) (country)

billing_address (zip) (city) (state) (address1) (address2) (country_code)

*tracking_code_slug

tracking_code_slug

*actblue_order_number

actblue_order_number

depends on the payment method: bank_account: "E" cash: "C" check: "K" credit_card: "D" in_kind: "I" offline_card or paypal: "O"

payment_type_ngp_code

*recruiter_name_or_email

recruiter_name_or_email

***fund_id

fund_id (fund UID (system generated) (e.g. 52681d6f-a6dd-4103-b84b-ddc0ae2be0a8 ))

***fund_internal_identifier

fund_internal_identifier (fund internal identifier (set up in Fund Settings, e.g. 1001 ))

transaction_id

transaction_id

commitment_id

commitment_id

*Custom Hidden Fields must be added to the Anedot Action Page in order to be relayed.

** UTM Campaign can be added to the Page URL in the Action Page Builder.

***Fields associated with the Send Fund Data functionality.

Donation Payload

Request Headers

Request Body

Includes Send Fund Data fields (fundID and fundInternalIdentifier). If Send Fund Data is not enabled, the fields are set to null.

Response Body (Success)

Includes Send Fund Data fields (fundId and fundInternalIdentifier). If Send Fund Data is not enabled, the fields are set to null.

Includes Send Commitment Data fields (cancelledOn, createdAt, frequency, actionPageName, amount, status). Since this payload is for a Donation object, the responses are set to null.

Response Body (Failure)

Response Body (Error)

Person Payload

Request Headers

Request Body

Response Body (Success)

Includes Send Commitment Data fields (cancelledOn, createdAt, frequency, actionPageName, amount, status). If Send Commitment Data is not selected, fields are set to null.

Response Body (Failure)


Agent Instructions

This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the ask query parameter, and the optional goal query parameter:

ask is the immediate question: it should be specific, self-contained, and written in natural language. goal is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.

Was this helpful?