# EveryAction

> Keep EveryAction's nonprofit CRM up to date: find or add people, note conversations, apply activist codes and tags, manage supporter groups, and read contributions and events.

App · 26 actions. Web page: https://docs.lodol.com/docs/integrations/everyaction

## Actions

### Add code to person

Apply a tag or source code to a person.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- Code (`code_id`, text, required): The tag or source code. Pick one, or give its ID.

**Outputs**

- `code_id` (text): The code applied
- `done` (true/false): True once it is done
- `van_id` (text): The person

**Example output**

```json
{
  "code_id": "20515",
  "done": true,
  "van_id": "100476252"
}
```

### Add person note

Add a note to a person, for everyone or only for users who may see restricted notes.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- Note (`text`, text, required): The note.
- Restricted (`restricted`, true/false): On to show it only to users allowed to see restricted notes.
- Note category ID (`category_id`, text): A note category's ID, if your database uses them.

**Outputs**

- `added` (true/false): True once it is added
- `van_id` (text): The person's VAN ID

**Example output**

```json
{
  "added": true,
  "van_id": "100476252"
}
```

### Add person to supporter group

Add a person to a supporter group.

**Inputs**

- Supporter group (`supporter_group_id`, text, required): The supporter group. Pick one, or give its ID.
- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.

**Outputs**

- `done` (true/false): True once it is done
- `supporter_group_id` (text): The group
- `van_id` (text): The person added

**Example output**

```json
{
  "done": true,
  "supporter_group_id": "15",
  "van_id": "100476252"
}
```

### Apply activist code

Apply an activist code (such as Volunteer) to a person.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- Activist code (`activist_code_id`, text, required): The activist code. Pick one, or give its ID.

**Outputs**

- `activist_code_id` (text): The activist code applied
- `done` (true/false): True once it is done
- `van_id` (text): The person

**Example output**

```json
{
  "activist_code_id": "3214",
  "done": true,
  "van_id": "100476252"
}
```

### Create supporter group

Create a supporter group.

**Inputs**

- Name (`name`, text, required): The group's name.
- Description (`description`, text): What the group is for.

**Outputs**

- `supporter_group` (object): The new group

**Example output**

```json
{
  "supporter_group": {
    "description": "Volunteers from the North End",
    "id": 15,
    "name": "North End Volunteers"
  }
}
```

### Delete supporter group

Delete a supporter group, taking everyone out of it.

**Inputs**

- Supporter group (`supporter_group_id`, text, required): The supporter group. Pick one, or give its ID.

**Outputs**

- `deleted` (true/false): True once it is gone
- `supporter_group_id` (text): The group deleted

**Example output**

```json
{
  "deleted": true,
  "supporter_group_id": "15"
}
```

### Find or create person

Find a person and update them with what is given, or add them when no one matches. A match needs an email, or a name with a phone or address.

**Inputs**

- First name (`first_name`, text): First name.
- Middle name (`middle_name`, text): Middle name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address, saved as their preferred email.
- Email type (`email_type`, text): What kind of email address it is. Defaults to personal. One of: `P` (Personal), `W` (Work), `O` (Other).
- Phone (`phone`, text): Phone number, saved as their preferred phone.
- Phone type (`phone_type`, text): What kind of phone it is. One of: `C` (Cell), `H` (Home), `W` (Work), `M` (Main), `F` (Fax).
- Address (`address_line1`, text): Street address, saved as their mailing address.
- Address line 2 (`address_line2`, text): Second address line.
- City (`city`, text): City.
- State (`state`, text): State or province.
- ZIP code (`zip_code`, text): ZIP or postal code.
- Country code (`country_code`, text): Two-letter country code, such as `US`.
- Date of birth (`date_of_birth`, date): Date of birth.
- Employer (`employer`, text): Where they work.
- Occupation (`occupation`, text): What they do.

**Outputs**

- `person` (object): The person, as EveryAction matched or stored them
- `van_id` (text): The person's VAN ID

**Example output**

```json
{
  "person": {
    "addresses": [
      {
        "addressLine1": "123 Main St",
        "city": "Springfield",
        "type": "Mailing"
      }
    ],
    "codes": [],
    "dateOfBirth": "1976-07-04T00:00:00Z",
    "emails": [
      {
        "email": "jim@example.com",
        "isPreferred": true,
        "type": "P"
      }
    ],
    "employer": "Acme Medical Group",
    "firstName": "James",
    "lastName": "Gordon",
    "middleName": "Worthington",
    "occupation": "Physician",
    "party": "D",
    "phones": [
      {
        "isPreferred": true,
        "phoneNumber": "555-888-9999",
        "phoneType": "H"
      }
    ],
    "sex": "M",
    "vanId": 100476252
  },
  "van_id": "100476252"
}
```

### Find person

Look for one person by email, or by name with a phone or ZIP code and birth date. Says whether they were found rather than failing.

**Inputs**

- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address.
- Phone (`phone`, text): Phone number.
- ZIP code (`zip_code`, text): ZIP code, with a birth date.
- Date of birth (`date_of_birth`, date): Date of birth, with a ZIP code.

**Outputs**

- `found` (true/false): True when one person matched
- `person` (object): The person found
- `van_id` (text): The person's VAN ID

**Example output**

```json
{
  "found": true,
  "person": {
    "addresses": [
      {
        "addressLine1": "123 Main St",
        "city": "Springfield",
        "type": "Mailing"
      }
    ],
    "codes": [],
    "dateOfBirth": "1976-07-04T00:00:00Z",
    "emails": [
      {
        "email": "jim@example.com",
        "isPreferred": true,
        "type": "P"
      }
    ],
    "employer": "Acme Medical Group",
    "firstName": "James",
    "lastName": "Gordon",
    "middleName": "Worthington",
    "occupation": "Physician",
    "party": "D",
    "phones": [
      {
        "isPreferred": true,
        "phoneNumber": "555-888-9999",
        "phoneType": "H"
      }
    ],
    "sex": "M",
    "vanId": 100476252
  },
  "van_id": "100476252"
}
```

### Get API key details

Get the database, committee and user the connected API key works in.

**Inputs**: None.

**Outputs**

- `profile` (object): The API key's details

**Example output**

```json
{
  "profile": {
    "apiKeyTypeName": "Custom Integration",
    "committeeName": "People for Good",
    "databaseName": "EveryAction",
    "hasMyCampaign": true,
    "hasMyVoters": false,
    "keyReference": "1234",
    "userFirstName": "peopleforgood",
    "userLastName": "api",
    "username": "peopleforgood.api"
  }
}
```

### Get contribution

Get one contribution with its donor, designation, amount and status.

**Inputs**

- Contribution ID (`contribution_id`, text, required): The contribution's ID, from 'List person contributions'.

**Outputs**

- `contribution` (object): The contribution

**Example output**

```json
{
  "contribution": {
    "amount": "12.34",
    "contact": {
      "vanId": 100476252
    },
    "contributionId": 23453,
    "dateReceived": "2026-11-25T12:23:00Z",
    "designation": {
      "designationId": 18754
    },
    "status": "Settled"
  }
}
```

### Get event

Get one event with its locations, shifts, roles, codes and notes.

**Inputs**

- Event ID (`event_id`, text, required): The event's ID, from 'List events'.

**Outputs**

- `event` (object): The event

**Example output**

```json
{
  "event": {
    "createdDate": "2026-11-05T13:18:00Z",
    "description": "Phone bank for the spring drive.",
    "endDate": "2026-12-01T20:00:00-05:00",
    "eventId": 1370,
    "eventType": {
      "eventTypeId": 143856,
      "name": "Phone Bank"
    },
    "locations": [],
    "name": "Neighbors Calling Neighbors",
    "roles": [],
    "shifts": [
      {
        "eventShiftId": 2162,
        "name": "Setup"
      }
    ],
    "shortName": "NeighborCall",
    "startDate": "2026-12-01T15:00:00-05:00"
  }
}
```

### Get person

Get one person with their emails, phones, addresses and codes.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.

**Outputs**

- `person` (object): The person

**Example output**

```json
{
  "person": {
    "addresses": [
      {
        "addressLine1": "123 Main St",
        "city": "Springfield",
        "type": "Mailing"
      }
    ],
    "codes": [],
    "dateOfBirth": "1976-07-04T00:00:00Z",
    "emails": [
      {
        "email": "jim@example.com",
        "isPreferred": true,
        "type": "P"
      }
    ],
    "employer": "Acme Medical Group",
    "firstName": "James",
    "lastName": "Gordon",
    "middleName": "Worthington",
    "occupation": "Physician",
    "party": "D",
    "phones": [
      {
        "isPreferred": true,
        "phoneNumber": "555-888-9999",
        "phoneType": "H"
      }
    ],
    "sex": "M",
    "vanId": 100476252
  }
}
```

### List activist codes

List the activist codes in your database.

**Inputs**

- Name starts with (`name`, text): Only codes whose name starts with this.
- Status (`status`, text): Which codes to list. Defaults to active ones. One of: `Active` (Active (default)), `Archived`, `Inactive`.
- How many (`limit`, number): How many to return, up to 200. From 1 to 200.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `activist_codes` (list): The activist codes
- `count` (number): How many were returned
- `has_more` (true/false): True when there is another page

**Example output**

```json
{
  "activist_codes": [
    {
      "activistCodeId": 3214,
      "description": "Wants to volunteer",
      "mediumName": "Volunteer",
      "name": "Volunteer",
      "scriptQuestion": "Would you like to volunteer?",
      "shortName": "Vol",
      "status": "Active",
      "type": "Volunteer"
    }
  ],
  "count": 1,
  "has_more": false
}
```

### List codes

List the tags and source codes in your database.

**Inputs**

- Name contains (`name`, text): Only codes whose name contains this.
- How many (`limit`, number): How many to return, up to 200. From 1 to 200.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `codes` (list): The codes
- `count` (number): How many were returned
- `has_more` (true/false): True when there is another page

**Example output**

```json
{
  "codes": [
    {
      "codeId": 20515,
      "codeType": "Tag",
      "dateCreated": "2026-04-05T12:59:00Z",
      "dateModified": "2026-05-01T09:59:00Z",
      "name": "Gala 2026",
      "parentCodeId": 20513
    }
  ],
  "count": 1,
  "has_more": false
}
```

### List designations

List the designations (committees or funds) contributions can go to.

**Inputs**: None.

**Outputs**

- `count` (number): How many were returned
- `designations` (list): The designations
- `has_more` (true/false): True when there is another page

**Example output**

```json
{
  "count": 1,
  "designations": [
    {
      "designationId": 18754,
      "name": "General Fund"
    }
  ],
  "has_more": false
}
```

### List event signups

List the signups for an event, or a person's signups across events.

**Inputs**

- Event ID (`event_id`, text): The event's ID. Give this or a person.
- VAN ID (`van_id`, text): The person's VAN ID.

**Outputs**

- `count` (number): How many were returned
- `has_more` (true/false): True when there is another page
- `signups` (list): The signups

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "signups": [
    {
      "endTimeOverride": "2026-12-01T16:00:00-05:00",
      "event": {
        "eventId": 1370,
        "name": "Neighbors Calling Neighbors"
      },
      "eventSignupId": 2452,
      "location": {
        "locationId": 272,
        "name": "Campaign HQ"
      },
      "person": {
        "firstName": "James",
        "lastName": "Gordon",
        "vanId": 100476252
      },
      "role": {
        "name": "Host",
        "roleId": 111687
      },
      "shift": {
        "eventShiftId": 2162,
        "name": "Setup"
      },
      "startTimeOverride": "2026-12-01T15:00:00-05:00",
      "status": {
        "name": "Invited",
        "statusId": 4
      }
    }
  ]
}
```

### List events

List events, optionally only those starting in a range of days or of one type.

**Inputs**

- Starting after (`starting_after`, date): Only events starting after this day.
- Starting before (`starting_before`, date): Only events starting before this day.
- Event type ID (`event_type_id`, text): Only events of this type.
- How many (`limit`, number): How many to return, up to 50. From 1 to 50.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `count` (number): How many were returned
- `events` (list): The events
- `has_more` (true/false): True when there is another page

**Example output**

```json
{
  "count": 1,
  "events": [
    {
      "createdDate": "2026-11-05T13:18:00Z",
      "description": "Phone bank for the spring drive.",
      "endDate": "2026-12-01T20:00:00-05:00",
      "eventId": 1370,
      "eventType": {
        "eventTypeId": 143856,
        "name": "Phone Bank"
      },
      "locations": [],
      "name": "Neighbors Calling Neighbors",
      "roles": [],
      "shifts": [
        {
          "eventShiftId": 2162,
          "name": "Setup"
        }
      ],
      "shortName": "NeighborCall",
      "startDate": "2026-12-01T15:00:00-05:00"
    }
  ],
  "has_more": false
}
```

### List person activist codes

List the activist codes applied to a person.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- How many (`limit`, number): How many to return, up to 200. From 1 to 200.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `activist_codes` (list): The activist codes
- `count` (number): How many were returned
- `has_more` (true/false): True when there is another page

**Example output**

```json
{
  "activist_codes": [
    {
      "activistCodeId": 3214,
      "activistCodeName": "Volunteer",
      "dateCanvassed": "2026-11-28T08:45:00Z",
      "dateCreated": "2026-11-28T08:45:00Z"
    }
  ],
  "count": 1,
  "has_more": false
}
```

### List person contributions

List a person's recent contributions, optionally to one designation.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- Designation (`designation_id`, text): Only contributions to this designation.
- How many (`limit`, number): How many to return, up to 200. From 1 to 200.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `contributions` (list): The contributions
- `count` (number): How many were returned
- `has_more` (true/false): True when there is another page

**Example output**

```json
{
  "contributions": [
    {
      "amount": 30,
      "amountRefunded": 0,
      "amountRemaining": 30,
      "contactsContributionId": 20196510,
      "dateReceived": "2026-11-04T00:00:00Z",
      "designationId": 18754,
      "designationName": "General Fund",
      "donorName": "Gordon, James",
      "type": "Monetary Contribution",
      "vanId": 100476252
    }
  ],
  "count": 1,
  "has_more": false
}
```

### List person notes

List the notes on a person.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- How many (`limit`, number): How many to return, up to 50. From 1 to 50.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `count` (number): How many were returned
- `has_more` (true/false): True when there is another page
- `notes` (list): The notes

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "notes": [
    {
      "category": {
        "name": "",
        "noteCategoryId": 0
      },
      "createdDate": "2026-11-30T12:13:00Z",
      "isViewRestricted": false,
      "noteId": 225,
      "text": "Great chat! Can volunteer next year."
    }
  ]
}
```

### List supporter groups

List your supporter groups.

**Inputs**

- How many (`limit`, number): How many to return, up to 200. From 1 to 200.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `count` (number): How many were returned
- `has_more` (true/false): True when there is another page
- `supporter_groups` (list): The supporter groups

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "supporter_groups": [
    {
      "description": "Volunteers from the North End",
      "id": 15,
      "name": "North End Volunteers"
    }
  ]
}
```

### Remove activist code

Remove an activist code from a person.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- Activist code (`activist_code_id`, text, required): The activist code. Pick one, or give its ID.

**Outputs**

- `activist_code_id` (text): The activist code removed
- `done` (true/false): True once it is done
- `van_id` (text): The person

**Example output**

```json
{
  "activist_code_id": "3214",
  "done": true,
  "van_id": "100476252"
}
```

### Remove code from person

Remove a tag or source code from a person.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- Code (`code_id`, text, required): The tag or source code. Pick one, or give its ID.

**Outputs**

- `code_id` (text): The code removed
- `done` (true/false): True once it is done
- `van_id` (text): The person

**Example output**

```json
{
  "code_id": "20515",
  "done": true,
  "van_id": "100476252"
}
```

### Remove person from supporter group

Take a person out of a supporter group.

**Inputs**

- Supporter group (`supporter_group_id`, text, required): The supporter group. Pick one, or give its ID.
- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.

**Outputs**

- `done` (true/false): True once it is done
- `supporter_group_id` (text): The group
- `van_id` (text): The person removed

**Example output**

```json
{
  "done": true,
  "supporter_group_id": "15",
  "van_id": "100476252"
}
```

### Suppress person

Suppress a person's record, in databases where records can be suppressed.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.

**Outputs**

- `suppressed` (true/false): True once it is suppressed
- `van_id` (text): The person's VAN ID

**Example output**

```json
{
  "suppressed": true,
  "van_id": "100476252"
}
```

### Update person

Update a person's name, contact details, birth date or work. Only the fields given change; an email, phone or address is added.

**Inputs**

- VAN ID (`van_id`, text, required): The person's VAN ID, from 'Find person' or an earlier step.
- First name (`first_name`, text): First name.
- Middle name (`middle_name`, text): Middle name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address, saved as their preferred email.
- Email type (`email_type`, text): What kind of email address it is. Defaults to personal. One of: `P` (Personal), `W` (Work), `O` (Other).
- Phone (`phone`, text): Phone number, saved as their preferred phone.
- Phone type (`phone_type`, text): What kind of phone it is. One of: `C` (Cell), `H` (Home), `W` (Work), `M` (Main), `F` (Fax).
- Address (`address_line1`, text): Street address, saved as their mailing address.
- Address line 2 (`address_line2`, text): Second address line.
- City (`city`, text): City.
- State (`state`, text): State or province.
- ZIP code (`zip_code`, text): ZIP or postal code.
- Country code (`country_code`, text): Two-letter country code, such as `US`.
- Date of birth (`date_of_birth`, date): Date of birth.
- Employer (`employer`, text): Where they work.
- Occupation (`occupation`, text): What they do.

**Outputs**

- `person` (object): The person
- `van_id` (text): The person's VAN ID

**Example output**

```json
{
  "person": {
    "addresses": [
      {
        "addressLine1": "123 Main St",
        "city": "Springfield",
        "type": "Mailing"
      }
    ],
    "codes": [],
    "dateOfBirth": "1976-07-04T00:00:00Z",
    "emails": [
      {
        "email": "jim@example.com",
        "isPreferred": true,
        "type": "P"
      }
    ],
    "employer": "Acme Medical Group",
    "firstName": "James",
    "lastName": "Gordon",
    "middleName": "Worthington",
    "occupation": "Surgeon",
    "party": "D",
    "phones": [
      {
        "isPreferred": true,
        "phoneNumber": "555-888-9999",
        "phoneType": "H"
      }
    ],
    "sex": "M",
    "vanId": 100476252
  },
  "van_id": "100476252"
}
```
