# GatherUp

> Add customers and send them feedback requests in GatherUp, read and reply to their feedback and online reviews, and follow new feedback and reviews as they arrive.

App · 22 actions. Web page: https://docs.lodol.com/docs/integrations/gatherup

## Actions

### Add notification email

Send a business location's feedback and review alerts to an email address too.

**Inputs**

- Business (`business_id`, number, required): The business location. At least 1.
- Email (`email`, text, required): The email address that gets the alerts.
- Notifications (`notification_type`, text): Which alerts the address gets. One of: `all` (Everything), `first-party` (First-party feedback), `third-party` (Third-party reviews), `reports`, `all-feedback-sent` (Every feedback request sent), `qna` (Google questions and answers). Default: `all`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "errorCode": 1,
    "errorMessage": "example"
  }
}
```

### Count feedback requests sent

Count the feedback requests a business location sent between two days, by email, text message or both.

**Inputs**

- Business (`business_id`, number, required): The business location. At least 1.
- From (`from_date`, date, required): Only those received on or after this day.
- To (`to_date`, date, required): Only those received on or before this day.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "businessId": 1,
    "from": "example",
    "requestsSent": {
      "both": 1,
      "email": 1,
      "sms": 1,
      "total": 1
    },
    "smsDelivery": {
      "delivered": 1,
      "failed": 1,
      "undelivered": 1
    },
    "timezone": "example",
    "to": "example"
  }
}
```

### Create customer

Add a customer to a business location, and optionally send them a feedback request.

**Inputs**

- Business (`business_id`, number, required): The business location. At least 1.
- First name (`first_name`, text, required): The customer's first name.
- Last name (`last_name`, text, required): The customer's last name.
- Email (`email`, text): The customer's email address. Basic plan accounts need one; on other plans an email or a mobile number will do.
- Mobile number (`phone`, text): The customer's mobile number, for text message requests.
- Send requests by (`preference`, text): How the customer gets feedback requests. Leave empty to choose from the email and mobile number given. One of: `email`, `sms` (Text message (SMS)).
- Job ID (`job_id`, text): Your own job number for this visit or sale.
- Custom ID (`custom_id`, text): Your own ID for the customer, such as their ID in your CRM.
- Tags (`tags`, list): Tags for the customer, up to 50 characters each.
- Notes (`notes`, text): A note about the customer.
- Send feedback request (`send_feedback_request`, true/false): Send the customer a feedback request now.
- Delay request by (hours) (`delay_hours`, number): Hours to wait before the feedback request goes out. Works only when the location's communication preference is Manual Mode. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "customerId": 1,
    "feedbackRequestErrorCode": 1,
    "feedbackRequestErrorMessage": "example"
  }
}
```

### Delete customer

Delete a customer and their feedback request.

**Inputs**

- Customer ID (`customer_id`, number, required): The customer's ID in GatherUp, from Create customer or List customers. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "businessId": 1,
    "success": true
  }
}
```

### Find user

Find a user (manager) by their exact email address.

**Inputs**

- Email (`email`, text, required): The user's email address.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "email": "example",
    "firstName": "example",
    "id": 1,
    "lastName": "example"
  }
}
```

### Get business

Get a business location's details, including its feedback page link.

**Inputs**

- Business (`business_id`, number, required): The business location. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "added": "example",
    "city": "example",
    "communicationMethod": "example",
    "country": "example",
    "customersNotSent": "example",
    "id": 1,
    "legalBusinessName": "example",
    "name": "example",
    "nps": 1,
    "organisationType": "example",
    "package": "example",
    "phone": "example",
    "publicBusinessName": "example",
    "shortFeedbackUrl": "example",
    "state": "example",
    "streetAddress": "example",
    "timezone": "example",
    "websiteURL": "example",
    "zip": "example"
  }
}
```

### Get customer

Get a customer's details, rating and feedback status.

**Inputs**

- Customer ID (`customer_id`, number, required): The customer's ID in GatherUp, from Create customer or List customers. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "businessId": "example",
    "createdAt": "example",
    "customId": "example",
    "email": "example",
    "firstName": "example",
    "jobId": "example",
    "lastName": "example",
    "phone": "example",
    "rating": "example",
    "statusInfo": "example",
    "unsubscribed": "example"
  }
}
```

### Get customer survey answers

Get a customer's answers to the location's survey questions.

**Inputs**

- Customer ID (`customer_id`, number, required): The customer's ID in GatherUp, from Create customer or List customers. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "answer": "example",
        "title": "example"
      }
    ]
  }
}
```

### Get online review links

Get the review site profiles a business location asks customers to review it on.

**Inputs**

- Business (`business_id`, number, required): The business location. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "data": [
      {
        "socialLinkShow": 1,
        "socialLinkType": "example",
        "socialLinkUrl": "example"
      }
    ]
  }
}
```

### Get overall rating

Get the average rating and number of reviews across every review site.

**Inputs**

- Business (`business_id`, number): Only this business location. Leave empty for every location. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "rating": {
      "avg": 1,
      "count": 1,
      "ratingCount": 1,
      "ratingSum": 1
    }
  }
}
```

### Get survey results

Get the average answer to each survey question for a business location.

**Inputs**

- Business (`business_id`, number, required): The business location. At least 1.
- Received from (`from_date`, date): Only those received on or after this day.
- Received to (`to_date`, date): Only those received on or before this day.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "answersCount": 1,
        "averageAnswer": 1,
        "title": "example"
      }
    ]
  }
}
```

### List businesses

List the account's business locations with their address and plan.

**Inputs**

- Include deleted (`include_deleted`, true/false): Also list locations that were deleted.
- Page (`page`, number): The page of results to return, 500 to a page. Leave empty for the first. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "data": [
      {
        "businessCity": "example",
        "businessCountry": "example",
        "businessDeleted": 1,
        "businessId": 1,
        "businessName": "example",
        "businessOrganisationType": "example",
        "businessPackage": "example",
        "businessPhone": "example",
        "businessState": "example",
        "businessStreetAddress": "example",
        "businessZip": "example",
        "customField": "example",
        "extraField": "example"
      }
    ],
    "page": 1,
    "pages": 1,
    "perPage": 1
  }
}
```

### List customers

List customers with their feedback status, optionally only one location's or those matching an email, job ID or custom ID.

**Inputs**

- Business (`business_id`, number): Only this business location. Leave empty for every location. At least 1.
- Email (`email`, text): Only the customer with this email address.
- Job ID (`job_id`, text): Only customers with this job ID.
- Custom ID (`custom_id`, text): Only customers with this custom ID.
- Page (`page`, number): The page of results to return, 500 to a page. Leave empty for the first. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "data": [
      {
        "businessId": "example",
        "createdAt": "example",
        "customId": "example",
        "email": "example",
        "firstName": "example",
        "id": "example",
        "jobId": "example",
        "lastName": "example",
        "parentId": "example",
        "phone": "example",
        "rating": "example",
        "review": "example",
        "statusInfo": "example",
        "subscription": 1
      }
    ],
    "page": 1,
    "pages": 1,
    "perPage": 1
  }
}
```

### List feedback

List the feedback customers left, with ratings and comments, optionally by location, date, score or customer.

**Inputs**

- Business (`business_id`, number): Only this business location. Leave empty for every location. At least 1.
- Received from (`from_date`, date): Only those received on or after this day.
- Received to (`to_date`, date): Only those received on or before this day.
- Customer ID (`customer_id`, number): Only this customer's feedback. At least 1.
- Lowest score (`min_score`, number): Only feedback with a likelihood-to-recommend score of at least this, from 0 to 10. From 0 to 10.
- Highest score (`max_score`, number): Only feedback with a likelihood-to-recommend score of at most this, from 0 to 10. From 0 to 10.
- Shown publicly (`visible`, true/false): Only feedback shown publicly (on), or only hidden feedback (off). Leave empty for both.
- Include survey answers (`include_survey`, true/false): Include the answers to survey questions.
- Page (`page`, number): The page of results to return, 500 to a page. Leave empty for the first. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "data": [
      {
        "authorEmail": "example",
        "authorName": "example",
        "body": "example",
        "businessId": "example",
        "customId": "example",
        "dateOfReview": "example",
        "feedbackId": "example",
        "jobId": "example",
        "negativeDetails": "example",
        "rating": 1,
        "recommend": 1,
        "showReview": "example",
        "tags": "example"
      }
    ],
    "page": 1,
    "pages": 1,
    "perPage": 1
  }
}
```

### List feedback responses

List the replies written to customer feedback, by the business owner or the customer.

**Inputs**

- Business (`business_id`, number): Only this business location. Leave empty for every location. At least 1.
- Feedback ID (`feedback_id`, number): Only replies to this feedback. At least 1.
- Received from (`from_date`, date): Only those received on or after this day.
- Received to (`to_date`, date): Only those received on or before this day.
- Page (`page`, number): The page of results to return, 500 to a page. Leave empty for the first. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "data": [
      {
        "businessId": 1,
        "content": "example",
        "date": "example",
        "feedbackId": 1,
        "responseId": 1,
        "type": "example"
      }
    ],
    "page": 1,
    "pages": 1,
    "perPage": 1
  }
}
```

### List online reviews

List the reviews customers left on Google, Facebook and other review sites, optionally by location, site or date.

**Inputs**

- Business (`business_id`, number): Only this business location. Leave empty for every location. At least 1.
- Review site (`site`, text): Only reviews from this site. One of: `google`, `facebook`, `yelp`, `bbb` (Better Business Bureau), `trustpilot`, `tripadvisor`, `glassdoor`, `indeed`, `houzz`, `homeadvisor`, and 12 more.
- Received from (`from_date`, date): Only those received on or after this day.
- Received to (`to_date`, date): Only those received on or before this day.
- Shown (`visible`, true/false): Only reviews shown on your widgets (on), or only hidden ones (off). Leave empty for both.
- Page (`page`, number): The page of results to return, 500 to a page. Leave empty for the first. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "data": [
      {
        "businessId": "example",
        "reviewAuthor": "example",
        "reviewContent": "example",
        "reviewId": "example",
        "reviewRating": 1,
        "reviewTime": "example",
        "reviewType": "example",
        "reviewVisible": true
      }
    ],
    "page": 1,
    "pages": 1,
    "perPage": 1
  }
}
```

### List users

List the account's users (managers), optionally those whose email contains some text.

**Inputs**

- Email contains (`email`, text): Only users whose email address contains this text.
- Page (`page`, number): The page of results to return, 500 to a page. Leave empty for the first. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "data": [
      {
        "userEmail": "example",
        "userFirstName": "example",
        "userId": "example",
        "userLastName": "example"
      }
    ],
    "page": 1,
    "pages": 1,
    "perPage": 1
  }
}
```

### Remove notification email

Stop sending a business location's alerts to an email address.

**Inputs**

- Business (`business_id`, number, required): The business location. At least 1.
- Email (`email`, text, required): The email address that gets the alerts.
- Notifications (`notification_type`, text): Which alerts the address gets. One of: `all` (Everything), `first-party` (First-party feedback), `third-party` (Third-party reviews), `reports`, `all-feedback-sent` (Every feedback request sent), `qna` (Google questions and answers). Default: `all`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "errorCode": 1,
    "errorMessage": "example"
  }
}
```

### Reply to customer feedback

Reply to the feedback a customer left, privately or on the location's public reviews.

**Inputs**

- Customer ID (`customer_id`, number, required): The customer's ID in GatherUp, from Create customer or List customers. At least 1.
- Reply (`content`, text, required): Your reply.
- Title (`title`, text): A title for the reply.
- Public (`public`, true/false): Show the reply with the feedback where the public can see it. Leave off to reply privately.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "customerId": "example"
  }
}
```

### Reply to online review

Post a public reply to a Google review, as the business. The location's Google Business Profile must be connected in GatherUp.

**Inputs**

- Review ID (`review_id`, number, required): The review's ID, from List online reviews. At least 1.
- Reply (`content`, text, required): Your reply. It is posted publicly on Google.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "reviewId": 1
  }
}
```

### Send feedback request

Send a customer a feedback request by their preferred channel, as a new request or a request to revise their rating.

**Inputs**

- Customer ID (`customer_id`, number, required): The customer's ID in GatherUp, from Create customer or List customers. At least 1.
- Ask to revise rating (`revise_rating`, true/false): Ask the customer to revise the rating they already gave (GatherUp's choice when left empty). Turn off to send a new feedback request.
- Respect request limit (`check_threshold`, true/false): Don't send if the customer has already had as many requests as the location allows.
- Job ID (`job_id`, text): A job ID for this request. It replaces the customer's job ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "errorCode": 1,
    "errorMessage": "example"
  }
}
```

### Update customer

Change a customer's name, contact details, IDs or tags. Only the fields filled in change; tags given replace the old ones.

**Inputs**

- Customer ID (`customer_id`, number, required): The customer's ID in GatherUp, from Create customer or List customers. At least 1.
- First name (`first_name`, text): The customer's first name.
- Last name (`last_name`, text): The customer's last name.
- Email (`email`, text): The customer's email address.
- Mobile number (`phone`, text): The customer's mobile number.
- Send requests by (`preference`, text): How the customer gets feedback requests. One of: `email`, `sms` (Text message (SMS)).
- Job ID (`job_id`, text): Your own job number for this visit or sale.
- Custom ID (`custom_id`, text): Your own ID for the customer.
- Tags (`tags`, list): Tags for the customer. They replace the customer's current tags.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "errorCode": 1,
    "errorMessage": "example"
  }
}
```
