# HelpSpot

> Open, search and update HelpSpot requests, log time, and keep track of filters and the address book.

App · 24 actions. Web page: https://docs.lodol.com/docs/integrations/helpspot

## Actions

### Add time entry

Log time worked on a request.

**Inputs**

- Request (`request_id`, number, required): The request's ID.
- Staff member (`person`, number, required): Who did the work.
- Month (`month`, number, required): The month the work was done, 1 to 12. From 1 to 12.
- Day (`day`, number, required): The day of the month, 1 to 31. From 1 to 31.
- Year (`year`, number, required): The year, such as 2026.
- Time (`time`, text, required): How long, as hours and minutes like 2:30 or decimal hours like 2.5.
- Description (`description`, text, required): What was done.
- Billable (`billable`, true/false): Turn on if the time is billable.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "xTimeId": 26
  }
}
```

### Create address book contact

Add a contact to HelpSpot's internal address book.

**Inputs**

- First name (`first_name`, text, required): Their first name.
- Last name (`last_name`, text, required): Their last name.
- Email (`email`, text, required): Their email.
- Job title (`job_title`, text): Their job title.
- Notes (`description`, text): Notes about them.
- Highlight (`highlight`, true/false): Turn on to highlight them in the address book.

**Outputs**

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

**Example output**

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

### Create request

Open a new request with a first note, optionally emailing it.

**Inputs**

- Note (`note`, text, required): The note's text.
- Note type (`note_type`, text): Who sees the note. Private when empty. One of: `0` (Private), `1` (Public: emailed to the customer), `2` (External: emailed to the addresses given).
- Note is HTML (`note_is_html`, true/false): Turn on if the note is HTML, off if plain text.
- Category (`category`, number, required): The category's ID, from List categories.
- 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.
- Phone (`phone`, text): The customer's phone.
- Customer ID (`customer_id`, text): Your own ID for the customer.
- Subject (`subject`, text): The email subject.
- Assigned to (`assigned_to`, number): The staff member to assign it to.
- Status (`status`, number): The status. Pick one, or use an ID from List statuses.
- Open (`open`, true/false): Turn on to keep it open, off to close it.
- Urgent (`urgent`, true/false): Turn on to mark it urgent.
- Reporting tags (`reporting_tags`, list): IDs of reporting tags, from List categories.
- Skip custom field checks (`skip_custom_checks`, true/false): Turn on to save even when required custom fields are empty.
- Opened via (`opened_via`, text): How it came in. One of: `1` (Email), `2` (Phone), `3` (Walk in), `4` (Mail), `5` (Other), `6` (Web service), `7` (Web form), `8` (Forum), `9` (Instant messenger), `10` (Fax), and 3 more.
- Send from mailbox (`email_from`, number): The mailbox to email the note from. Enter 0 to send no email.
- Cc (`email_cc`, list): Email addresses to copy.
- Bcc (`email_bcc`, list): Email addresses to blind copy.
- External note to (`email_to`, list): For an external note, the addresses to send it to.
- Notify staff (`email_staff`, list): IDs of staff to notify, from List staff.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "xRequest": 12746
  }
}
```

### Delete address book contact

Delete a contact from HelpSpot's internal address book.

**Inputs**

- Contact (`contact`, number, required): The contact's ID, from List address book contacts.

**Outputs**

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

**Example output**

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

### Delete time entry

Delete a time entry.

**Inputs**

- Time entry (`time_entry`, number, required): The time entry's ID, from List time entries.

**Outputs**

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

**Example output**

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

### Get request

Get a request with its full history of notes.

**Inputs**

- Request (`request_id`, number, required): The request's ID.
- Raw IDs (`raw_values`, true/false): Turn on to get IDs for staff, categories and statuses instead of their names, and timestamps instead of dates.
- Include time (`include_time`, true/false): Turn on to include the total time logged.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "dtGMTClosed": "",
    "dtGMTOpened": "January 16, 2006",
    "fOpen": 1,
    "fOpenedVia": "Phone",
    "fTrash": 0,
    "fUrgent": 0,
    "fullname": "Harry Waterman",
    "request_history": {
      "item": [
        {
          "dtGMTChange": "Tue, September 25, 2007, 11:00 AM",
          "fInitial": 0,
          "fNoteIsHTML": 1,
          "fPublic": 1,
          "tLog": "Category changed from \"\" to \"Bugs\"",
          "tNote": "<p>An HTML note example</p>",
          "xPerson": "Ian Landsman",
          "xRequestHistory": 1378
        }
      ]
    },
    "sEmail": "hw@example.com",
    "sFirstName": "Harry",
    "sLastName": "Waterman",
    "sPhone": "845.555.1234",
    "sTitle": "Help with printer",
    "sUserId": "12345",
    "xCategory": "Bugs",
    "xPersonAssignedTo": "Ian Landsman",
    "xPersonOpenedBy": "Ian Landsman",
    "xRequest": 12650,
    "xStatus": "Active"
  }
}
```

### Get saved response

Get a saved response's text.

**Inputs**

- Response (`response`, number, required): The response's ID, from List saved responses.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "sFolder": "My Responses",
    "sResponseTitle": "Password Reset",
    "tResponse": "Hello,\nPlease go to the website to reset your password.",
    "xResponse": 1
  }
}
```

### List address book contacts

List the contacts in HelpSpot's internal address book.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "contact": [
      {
        "fHighlight": 1,
        "sDescription": "Additional description values",
        "sEmail": "jane.doe@example.com",
        "sFirstName": "Jane",
        "sLastName": "Doe",
        "sTitle": "CEO",
        "xContact": 3
      }
    ]
  }
}
```

### List categories

List request categories with their staff and reporting tags.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "category": {
      "1": {
        "fAllowPublicSubmit": 1,
        "fDeleted": 0,
        "reportingTags": {
          "tag": [
            {
              "sReportingTag": "Pricing",
              "xReportingTag": 5
            }
          ]
        },
        "sCategory": "Pre Sales Question",
        "sCategoryGroup": "",
        "xCategory": 1,
        "xPersonDefault": 1
      }
    }
  }
}
```

### List changed requests

List the IDs of requests changed since a time.

**Inputs**

- Since (`since`, date and time, required): List requests changed after this time.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "xRequest": [
      46550
    ]
  }
}
```

### List custom fields

List request custom fields, for all categories or one.

**Inputs**

- Category (`category`, number): Only this category's custom fields, by ID from List categories.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "field": [
      {
        "fieldName": "VIP Customer",
        "fieldType": "checkbox",
        "isPublic": 1,
        "isRequired": 0,
        "listItems": {
          "item": [
            "MySQL"
          ]
        },
        "xCustomField": 7
      }
    ]
  }
}
```

### List filters

List your filters, such as Inbox and My Queue, with how many requests each holds.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "filter": [
      {
        "count": 22,
        "sFilterFolder": "My Filters",
        "sFilterName": "Inbox",
        "unread": 18,
        "xFilter": "inbox"
      }
    ]
  }
}
```

### List mailboxes

List the mailboxes HelpSpot can send email from.

**Inputs**

- Active only (`active_only`, true/false): Turn off to include inactive mailboxes.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "mailbox": [
      {
        "sReplyEmail": "support@example.com",
        "sReplyName": "Support",
        "xMailbox": 3
      }
    ]
  }
}
```

### List requests in filter

List one page of the requests in one of your filters.

**Inputs**

- Filter (`filter`, text, required): The filter. Pick one, or enter its ID, inbox or myq.
- Skip (`start`, number): How many results to skip. At least 0.
- Page size (`length`, number): How many results to return. At least 1.
- Raw IDs (`raw_values`, true/false): Turn on to get IDs for staff, categories and statuses instead of their names, and timestamps instead of dates.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "request": [
      {
        "dtGMTClosed": "",
        "dtGMTOpened": "January 16, 2006",
        "fOpen": 1,
        "fOpenedVia": "Phone",
        "fTrash": 0,
        "fUrgent": 0,
        "fullname": "Harry Waterman",
        "sAISummary": "User requests document upload assistance.",
        "sEmail": "hw@example.com",
        "sFirstName": "Harry",
        "sLastName": "Waterman",
        "sPhone": "845.555.1234",
        "sTitle": "Help with printer",
        "sUserId": "12345",
        "tNote": "I would like to upload documents over 1 gigabyte.",
        "xCategory": "Bugs",
        "xPersonAssignedTo": "Ian Landsman",
        "xPersonOpenedBy": "Ian Landsman",
        "xRequest": 12650,
        "xStatus": "Active"
      }
    ]
  }
}
```

### List saved responses

List your saved responses.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "response": [
      {
        "pathname": "My Responses / Password Reset",
        "sFolder": "My Responses",
        "sResponseTitle": "Password Reset",
        "tResponse": "Hello,\nPlease go to the website to reset your password.",
        "xResponse": 1
      }
    ]
  }
}
```

### List staff

List the active staff members.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "person": [
      {
        "fUserType": 1,
        "fullname": "Henry Yount",
        "sEmail": "henry@example.com",
        "sFname": "Henry",
        "sLname": "Yount",
        "sPhone": "x345",
        "xPerson": 7,
        "xPersonOutOfOffice": 0
      }
    ]
  }
}
```

### List statuses

List the statuses a request can have.

**Inputs**

- Active only (`active_only`, true/false): Turn off to include statuses no longer used.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "status": [
      {
        "sStatus": "Active",
        "xStatus": 1
      }
    ]
  }
}
```

### List time entries

List the time logged on a request.

**Inputs**

- Request (`request_id`, number, required): The request's ID.
- Raw IDs (`raw_values`, true/false): Turn on to get IDs for staff, categories and statuses instead of their names, and timestamps instead of dates.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "event": [
      {
        "dtGMTDate": "September 25, 2007",
        "dtGMTDateAdded": "Wed, September 26, 2007, 01:18 PM",
        "iSeconds": 9000,
        "tDescription": "Delivered printer",
        "xPerson": "Tina Andrews",
        "xRequest": 12650,
        "xTimeId": 27
      }
    ]
  }
}
```

### Move request to trash

Move a request to the trash.

**Inputs**

- Request (`request_id`, number, required): The request's ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "trashed": 12400
  }
}
```

### Search requests

Find requests by customer, text, status, category, assignee or dates.

**Inputs**

- Text (`text`, text): Words to look for in the requests' notes.
- 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.
- Phone (`phone`, text): The customer's phone.
- Customer ID (`customer_id`, text): Your own ID for the customer.
- Status (`status`, number): Only this status.
- Category (`category`, number): Only this category, by ID from List categories.
- Assigned to (`assigned_to`, number): Only requests assigned to this staff member.
- Open (`open`, true/false): Turn on for only open requests, off for only closed ones.
- Match (`match`, text): Whether requests must match every filter or any. Every when empty. One of: `all` (Every filter), `any` (Any filter).
- Opened in (`opened_in`, text): Only requests opened in this period. One of: `today`, `yesterday`, `past_7` (Past 7 days), `past_14` (Past 14 days), `past_30` (Past 30 days), `past_90` (Past 90 days), `past_365` (Past 365 days), `this_week` (This week), `this_month` (This month), `this_year` (This year), and 3 more.
- Opened after (`opened_after`, date and time): Only requests opened after this.
- Opened before (`opened_before`, date and time): Only requests opened before this.
- Closed after (`closed_after`, date and time): Only requests closed after this.
- Closed before (`closed_before`, date and time): Only requests closed before this.
- Sort by (`order_by`, text): The field to sort by, such as xRequest or sLastName.
- Order (`order`, text): Descending or ascending. One of: `desc` (Descending), `asc` (Ascending).
- Skip (`start`, number): How many results to skip. At least 0.
- Page size (`length`, number): How many results to return. At least 1.
- Raw IDs (`raw_values`, true/false): Turn on to get IDs for staff, categories and statuses instead of their names, and timestamps instead of dates.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "request": [
      {
        "dtGMTClosed": "",
        "dtGMTOpened": "January 16, 2006",
        "fOpen": 1,
        "fOpenedVia": "Phone",
        "fTrash": 0,
        "fUrgent": 0,
        "fullname": "Harry Waterman",
        "sEmail": "hw@example.com",
        "sFirstName": "Harry",
        "sLastName": "Waterman",
        "sPhone": "845.555.1234",
        "sTitle": "Help with printer",
        "sUserId": "12345",
        "tNote": "Help with printer issue please.",
        "xCategory": "Bugs",
        "xPersonAssignedTo": "Ian Landsman",
        "xPersonOpenedBy": "Ian Landsman",
        "xRequest": 12650,
        "xStatus": "Active"
      }
    ]
  }
}
```

### Search time entries

Find time logged across requests, by customer, category, staff or dates.

**Inputs**

- Customer ID (`customer_id`, text): Your own ID for the customer.
- Email (`email`, text): The customer's email.
- Category (`category`, number): Only this category, by ID from List categories.
- Assigned to (`assigned_to`, number): Only requests assigned to this staff member.
- From (`start_time`, date and time): The start of the period. The last 30 days when empty.
- To (`end_time`, date and time): The end of the period. Now when empty.
- Order (`order`, text): Newest or oldest first. One of: `desc` (Newest first), `asc` (Oldest first).
- Raw IDs (`raw_values`, true/false): Turn on to get IDs for staff, categories and statuses instead of their names, and timestamps instead of dates.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "event": [
      {
        "dtGMTDate": "June 9, 2008",
        "iSeconds": 5400,
        "sEmail": "ian@example.com",
        "sUserId": "76548",
        "tDescription": "Fixed 3rd floor network printer",
        "xPerson": "Ian Landsman",
        "xRequest": 12481,
        "xTimeId": 4502
      }
    ]
  }
}
```

### Subscribe staff to request

Have a staff member follow a request's updates.

**Inputs**

- Request (`request_id`, number, required): The request's ID.
- Staff member (`person`, number, required): The staff member.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "subscribed": 4
  }
}
```

### Unsubscribe staff from request

Stop a staff member following a request.

**Inputs**

- Request (`request_id`, number, required): The request's ID.
- Staff member (`person`, number, required): The staff member.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "unsubscribed": 4
  }
}
```

### Update request

Add a note to a request or change its details. Fields left empty stay as they are.

**Inputs**

- Request (`request_id`, number, required): The request's ID.
- Note (`note`, text): The note's text.
- Note type (`note_type`, text): Who sees the note. Private when empty. One of: `0` (Private), `1` (Public: emailed to the customer), `2` (External: emailed to the addresses given).
- Note is HTML (`note_is_html`, true/false): Turn on if the note is HTML, off if plain text.
- Category (`category`, number): A new category, by ID from List categories.
- 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.
- Phone (`phone`, text): The customer's phone.
- Customer ID (`customer_id`, text): Your own ID for the customer.
- Subject (`subject`, text): The email subject.
- Assigned to (`assigned_to`, number): The staff member to assign it to.
- Status (`status`, number): The status. Pick one, or use an ID from List statuses.
- Open (`open`, true/false): Turn on to keep it open, off to close it.
- Urgent (`urgent`, true/false): Turn on to mark it urgent.
- Reporting tags (`reporting_tags`, list): IDs of reporting tags, from List categories.
- Skip custom field checks (`skip_custom_checks`, true/false): Turn on to save even when required custom fields are empty.
- Keep closed (`skip_reopen`, true/false): Turn on so this update doesn't reopen a closed request.
- Send from mailbox (`email_from`, number): The mailbox to email the note from. Enter 0 to send no email.
- Cc (`email_cc`, list): Email addresses to copy.
- Bcc (`email_bcc`, list): Email addresses to blind copy.
- External note to (`email_to`, list): For an external note, the addresses to send it to.
- Notify staff (`email_staff`, list): IDs of staff to notify, from List staff.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "xRequest": 12746
  }
}
```
