# Nectar

> Read recognition posts, send custom awards, keep people in sync and follow performance reviews in Nectar.

App · 11 actions. Web page: https://docs.lodol.com/docs/integrations/nectar

## Actions

### Create or update users

Add up to 50 people to Nectar, or update them if they are already there.

**Inputs**

- People (`users`, list, required): One entry per person, up to 50. A person is matched by Nectar ID, then employee ID, then email; anyone not found is added.
- Match on (`lookup_keys`, list): Which IDs to match people by. Leave empty to match by Nectar ID, then employee ID, then email. One or more of: `nectar_id` (Nectar ID), `email`, `employee_id` (Employee ID).
- Send invitations (`send_invites`, true/false): Email an invitation to everyone marked as invited in this request.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "total": 1,
      "users": [
        {
          "active": true,
          "department": "Marketing",
          "email": "jane.doe@example.com",
          "employee_id": "E1001",
          "first_name": "Jane",
          "id": "3f1d2c4e-1111-4a5b-9c0d-123456789abc",
          "invite_email_sent": false,
          "job_title": "Designer",
          "language": "en",
          "last_name": "Doe",
          "links": {
            "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
          },
          "office_location": "Austin",
          "phone_number": "123-456-7890",
          "username": "janedoe"
        }
      ],
      "warnings": [
        "Duplicate email jane.doe@example.com: skipped"
      ]
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### Get redemption summary

Total up what each person redeemed their points for over a date range.

**Inputs**

- From (`start_date`, date): The first day. Leave empty for the start of this month. The range can't be over a year.
- To (`end_date`, date): The last day. Needs From.
- Sort by (`sort`, text): Sort people by this amount, highest first. One of: `gift_card_redemptions` (Gift cards), `swag_redemptions` (Swag), `amazon_us` (Amazon US), `amazon_uk` (Amazon UK), `amazon_ca` (Amazon Canada).

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "financialRedemptionReport": [
        {
          "amazon_redemptions": {
            "CA": "0.00",
            "UK": "0.00",
            "US": "0.00"
          },
          "gift_card_redemptions": "50.00",
          "merchandise_redemptions": "40.00",
          "shipping_cost": "10.00",
          "swag_redemptions": "25.00",
          "user": {
            "active": true,
            "department": "Marketing",
            "email": "jane.doe@example.com",
            "employee_id": "E1001",
            "first_name": "Jane",
            "id": "3f1d2c4e-1111-4a5b-9c0d-123456789abc",
            "job_title": "Designer",
            "language": "en",
            "last_name": "Doe",
            "links": {
              "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
            },
            "office_location": "Austin",
            "phone_number": "123-456-7890",
            "username": "janedoe"
          }
        }
      ],
      "meta": {
        "endDate": "2026-03-31",
        "startDate": "2026-03-01",
        "total": "125.00"
      }
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### Get review history

List one employee's submitted reviews, newest first.

**Inputs**

- Employee (`user`, text, required): The employee. Pick one, or use a Nectar user ID.
- Next page (`cursor`, text): The ID of the last record on the previous page, to get the next page.
- Page size (`limit`, number): How many to return, from 1 to 200. Leave empty for 50. From 1 to 200.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "review_completions": [
        {
          "closed_at": "2026-03-31T00:00:00Z",
          "cycle": {
            "id": "7b6c2f0e-2222-4c1d-8e9f-abcdefabcdef",
            "name": "H1 2026",
            "status": "ACTIVE"
          },
          "direction": "MANAGER",
          "id": "9a8b7c6d-3333-4e5f-8a9b-0c1d2e3f4a5b",
          "opened_at": "2026-03-01T00:00:00Z",
          "released_at": "2026-04-02T09:00:00Z",
          "reviewee": {
            "active": true,
            "department": "Marketing",
            "email": "jane.doe@example.com",
            "employee_id": "E1001",
            "id": "3f1d2c4e-1111-4a5b-9c0d-123456789abc",
            "job_title": "Designer",
            "manager_email": "sam.lee@example.com"
          },
          "reviewer": {
            "email": "sam.lee@example.com",
            "employee_id": "E0007",
            "id": "5e4d3c2b-4444-4a1b-9c8d-7e6f5a4b3c2d"
          },
          "status": "SUBMITTED",
          "submitted_at": "2026-03-14T18:22:05Z",
          "updated_at": "2026-04-02T09:00:00Z"
        }
      ],
      "total": 1
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### Get user

Get one person's full details.

**Inputs**

- User (`user`, text, required): The person. Pick one, or use a Nectar user ID from List users.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "user": {
        "active": true,
        "department": "Marketing",
        "email": "jane.doe@example.com",
        "employee_id": "E1001",
        "first_name": "Jane",
        "giveable_points": 100,
        "hire_date": "2022-03-01",
        "id": "3f1d2c4e-1111-4a5b-9c0d-123456789abc",
        "job_title": "Designer",
        "language": "en",
        "last_name": "Doe",
        "links": {
          "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
        },
        "logged_in_once": true,
        "manager_email": "sam.lee@example.com",
        "office_location": "Austin",
        "phone_number": "123-456-7890",
        "preferred_name": "Jane",
        "redeemable_points": 250,
        "user_invited": true,
        "user_onboarded": true,
        "user_role": "Employee",
        "username": "janedoe",
        "workspaces": [
          "Main"
        ]
      }
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### List custom awards

List your company's custom awards, 25 at a time.

**Inputs**

- Page (`page`, number): The page to read, from 1. At least 1.
- Automation only (`automation_enabled`, true/false): Only awards turned on for automation.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "awards": [
        {
          "fixed_points": true,
          "message": "Thank you for going above and beyond!",
          "name": "Above and Beyond",
          "points": 50,
          "uuid": "c0ffee00-5555-4a1b-9c8d-000000000001"
        }
      ],
      "pageInfo": {
        "page": 1,
        "pageSize": 25,
        "total": 1
      }
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### List recognition feed

List recognition posts, such as shoutouts, awards, birthdays and anniversaries.

**Inputs**

- Post type (`type`, list): Only posts of these kinds. Leave empty for all. One or more of: `shoutout`, `award`, `birthday`, `anniversary` (Work anniversary), `nomination_post` (Nomination), `nomination_response` (Nomination response), `challenge`, `welcome`, `setup`.
- From (`start_date`, date): The first day to read.
- To (`end_date`, date): The last day to read. Needs From.
- Private (`private`, true/false): Only private posts, or only public ones.
- Hidden from leaderboard (`hidden_from_leaderboard`, true/false): Only posts hidden from, or shown on, the leaderboard.
- Deleted (`deleted`, true/false): List deleted posts instead.
- Next page (`cursor`, number): The cursor from the last page, to read the next range of posts.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "feed": [
        {
          "amount": 20,
          "core_values": [
            "Teamwork"
          ],
          "created_at": "2026-03-14T18:22:05Z",
          "id": "64f0c1a2b3",
          "image_url": "https://example.com/gif.gif",
          "message": "Thanks for the launch help! #teamwork",
          "private": false,
          "receivers": [
            {
              "active": true,
              "department": "Marketing",
              "email": "jane.doe@example.com",
              "employee_id": "E1001",
              "first_name": "Jane",
              "id": "3f1d2c4e-1111-4a5b-9c0d-123456789abc",
              "job_title": "Designer",
              "language": "en",
              "last_name": "Doe",
              "links": {
                "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
              },
              "office_location": "Austin",
              "phone_number": "123-456-7890",
              "username": "janedoe"
            }
          ],
          "type": "shoutout",
          "user": {
            "active": true,
            "department": "Marketing",
            "email": "jane.doe@example.com",
            "employee_id": "E1001",
            "first_name": "Jane",
            "id": "3f1d2c4e-1111-4a5b-9c0d-123456789abc",
            "job_title": "Designer",
            "language": "en",
            "last_name": "Doe",
            "links": {
              "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
            },
            "office_location": "Austin",
            "phone_number": "123-456-7890",
            "username": "janedoe"
          }
        }
      ],
      "meta": {
        "cursor": 1772323200,
        "end_date": "2026-03-31T00:00:00Z",
        "start_date": "2026-03-01T00:00:00Z",
        "total": 1
      }
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### List review completions

List who was reviewed, by whom and when. Ratings and answers aren't included.

**Inputs**

- Status (`status`, list): Which assignments to list. Leave empty for submitted ones. One or more of: `SUBMITTED`, `IN_PROGRESS` (In progress), `NOT_STARTED` (Not started).
- Reviewer (`direction`, text): Only one kind of review. One of: `SELF` (Self review), `MANAGER` (Manager review), `PEER` (Peer review).
- Cycle (`cycle_id`, text): Only this review cycle.
- Changed since (`updated_since`, date and time): Only records changed at or after this time.
- Active employees (`active`, true/false): Only reviews of active employees, or only of inactive ones.
- Next page (`cursor`, text): The ID of the last record on the previous page, to get the next page.
- Page size (`limit`, number): How many to return, from 1 to 200. Leave empty for 50. From 1 to 200.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "review_completions": [
        {
          "closed_at": "2026-03-31T00:00:00Z",
          "cycle": {
            "id": "7b6c2f0e-2222-4c1d-8e9f-abcdefabcdef",
            "name": "H1 2026",
            "status": "ACTIVE"
          },
          "direction": "MANAGER",
          "id": "9a8b7c6d-3333-4e5f-8a9b-0c1d2e3f4a5b",
          "opened_at": "2026-03-01T00:00:00Z",
          "released_at": "2026-04-02T09:00:00Z",
          "reviewee": {
            "active": true,
            "department": "Marketing",
            "email": "jane.doe@example.com",
            "employee_id": "E1001",
            "id": "3f1d2c4e-1111-4a5b-9c0d-123456789abc",
            "job_title": "Designer",
            "manager_email": "sam.lee@example.com"
          },
          "reviewer": {
            "email": "sam.lee@example.com",
            "employee_id": "E0007",
            "id": "5e4d3c2b-4444-4a1b-9c8d-7e6f5a4b3c2d"
          },
          "status": "SUBMITTED",
          "submitted_at": "2026-03-14T18:22:05Z",
          "updated_at": "2026-04-02T09:00:00Z"
        }
      ],
      "total": 1
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### List review cycles

List performance review cycles.

**Inputs**

- Status (`status`, text): Only cycles with this status. One of: `DRAFT`, `SCHEDULED`, `ACTIVE`, `CLOSED`.
- Changed since (`updated_since`, date and time): Only cycles changed at or after this time.
- Next page (`cursor`, text): The ID of the last record on the previous page, to get the next page.
- Page size (`limit`, number): How many to return, from 1 to 200. Leave empty for 50. From 1 to 200.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "review_cycles": [
        {
          "created_at": "2026-01-05T10:00:00Z",
          "description": "First half review",
          "directions": [
            {
              "closed_at": "2026-03-31T00:00:00Z",
              "direction": "SELF",
              "opened_at": "2026-03-01T00:00:00Z"
            }
          ],
          "id": "7b6c2f0e-2222-4c1d-8e9f-abcdefabcdef",
          "name": "H1 2026",
          "status": "ACTIVE",
          "updated_at": "2026-03-01T10:00:00Z"
        }
      ],
      "total": 1
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### List users

List the people in your Nectar company, with their full details.

**Inputs**

- Active (`active`, true/false): Only active people, or only inactive ones. Leave empty for both.
- Invited (`invited`, true/false): Only people who have, or haven't, been invited.
- Email (`email`, text): Only the person with this email address.
- Employee ID (`employee_id`, text): Only the person with this employee ID.
- Page size (`limit`, number): How many to return. At least 1.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "total": 1,
      "users": [
        {
          "active": true,
          "department": "Marketing",
          "email": "jane.doe@example.com",
          "employee_id": "E1001",
          "first_name": "Jane",
          "giveable_points": 100,
          "hire_date": "2022-03-01",
          "id": "3f1d2c4e-1111-4a5b-9c0d-123456789abc",
          "job_title": "Designer",
          "language": "en",
          "last_name": "Doe",
          "links": {
            "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
          },
          "logged_in_once": true,
          "manager_email": "sam.lee@example.com",
          "office_location": "Austin",
          "phone_number": "123-456-7890",
          "preferred_name": "Jane",
          "redeemable_points": 250,
          "user_invited": true,
          "user_onboarded": true,
          "user_role": "Employee",
          "username": "janedoe",
          "workspaces": [
            "Main"
          ]
        }
      ]
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### Send custom award

Give a custom award to one or more people, by Nectar ID or email.

**Inputs**

- Award (`award_id`, text, required): The award to send. Pick one, or use an award ID from List custom awards.
- Recipients (`recipient_ids`, list): The Nectar IDs of the people to award. Use this or Recipient emails.
- Recipient emails (`recipient_emails`, list): The email addresses of the people to award. Use this or Recipients.
- Message (`message`, text): A personal message to include.
- Points (`points`, number): Points to give with the award, if it allows it. At least 0.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```

### Start flow

Enroll people in a Nectar flow through its API trigger.

**Inputs**

- Trigger ID (`trigger_id`, text, required): The ID of the flow's API trigger, from the flow in Nectar.
- Emails (`emails`, list): The email addresses of the people to enroll. Use this or People.
- People (`user_ids`, list): The Nectar IDs of the people to enroll. Use this or Emails.

**Outputs**

- `data` (object): The response from Nectar.

**Example output**

```json
{
  "data": {
    "data": {
      "enrolledCount": 1,
      "enrolledUserIds": [
        "3f1d2c4e-1111-4a5b-9c0d-123456789abc"
      ],
      "flowId": "flow_123",
      "skippedCount": 0,
      "triggerId": "trg_456"
    },
    "links": {
      "self": "https://api.nectarhr.com/v1/users/3f1d2c4e-1111-4a5b-9c0d-123456789abc"
    },
    "status": "success"
  }
}
```
