Skip to content
For LLMsView as Markdown·

Gusto

Manage payroll, employees, and benefits via the Gusto API.

DetailValue
CategoryHR
Base URLhttps://api.gusto.com/v1
AuthenticationOAuth2
Endpoints5
Connector keygusto

Using Gusto in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Gusto from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /companies/{companyId}/employeesList employees
POST /companies/{companyId}/employeesCreate an employee
GET /companies/{companyId}/payrollsList payrolls
GET /companies/{companyId}Get company details
GET /companies/{companyId}/benefitsList company benefits

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /companies/{companyId}/employees

List employees

DetailValue
Operation IDhr.listEmployees
MethodGET
Path/companies/{companyId}/employees

Parameters

NameLocationTypeRequired
companyIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Gusto connection from the Connection dropdown.
  3. In the Operation dropdown, select hr.listEmployees.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Gusto API reference.

POST /companies/{companyId}/employees

Create an employee

DetailValue
Operation IDhr.createEmployee
MethodPOST
Path/companies/{companyId}/employees

Parameters

NameLocationTypeRequired
companyIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Gusto connection from the Connection dropdown.
  3. In the Operation dropdown, select hr.createEmployee.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Gusto API reference.

GET /companies/{companyId}/payrolls

List payrolls

DetailValue
Operation IDhr.listPayrolls
MethodGET
Path/companies/{companyId}/payrolls

Parameters

NameLocationTypeRequired
companyIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Gusto connection from the Connection dropdown.
  3. In the Operation dropdown, select hr.listPayrolls.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Gusto API reference.

GET /companies/{companyId}

Get company details

DetailValue
Operation IDhr.getCompany
MethodGET
Path/companies/{companyId}

Parameters

NameLocationTypeRequired
companyIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Gusto connection from the Connection dropdown.
  3. In the Operation dropdown, select hr.getCompany.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Gusto API reference.

GET /companies/{companyId}/benefits

List company benefits

DetailValue
Operation IDhr.listBenefits
MethodGET
Path/companies/{companyId}/benefits

Parameters

NameLocationTypeRequired
companyIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Gusto connection from the Connection dropdown.
  3. In the Operation dropdown, select hr.listBenefits.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Gusto API reference.