Harvest
Track time and create Harvest clients, projects, and draft invoices.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
Harvest
Personal Access Token
Harvest
Connect to Harvest to manage time, clients, projects, and invoices.
Set up in Harvest
Prepare the Harvest account or service that the workflow will access. Grant access to the required resources and operations.
Personal Access Token: Create a personal access token in the Developers section of Harvest ID and paste it here.
Set up in StackAI
Open Settings → Connections, add a connection, and select Harvest.
Enter the credentials and connection details in the fields below.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
Connection fields
Personal Access Token
Yes
Create a personal access token in the Developers section of Harvest ID and paste it here. Provider instructions.
Harvest Account ID
Yes
Use the Harvest account ID shown beside the token in Harvest ID, not a Forecast account ID.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required Harvest action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
Create Time Entry
Record completed work in a Harvest timesheet.
Inputs
Account Time Format
select (string)
Yes
Match the time format selected in Harvest account settings. Available values: Duration (decimal hours), Start and end times. Default: duration.
Project
select (integer)
Yes
Project where the time was spent. Options load from the selected connection.
Task
select (integer)
Yes
Task used to categorize the time. Options load from the selected connection.
Date
date
Yes
Calendar date when the work happened.
Hours
number
No
Decimal hours to record.
Start Time
time
No
Time the work started.
End Time
time
No
Time the work ended.
Notes
textarea
No
Optional description of the work.
Outputs
Time Entry
object
Created Harvest time entry.
List Time Entries
List Harvest time entries with date and work filters.
Inputs
From Date
date
No
Only include work on or after this date.
To Date
date
No
Only include work on or before this date.
Project
select (integer)
No
Only include entries for this project.
Client
select (integer)
No
Only include entries for this client.
Task
select (integer)
No
Only include entries for this task.
Running State
boolean
No
Filter to running or stopped timers.
Billed State
boolean
No
Filter to billed or unbilled time.
Limit
integer
No
Approximate maximum entries to retrieve. Default: 100.
Continuation Cursor
string
No
Continue from a previous response.
Outputs
Time Entries
object_array
Matching Harvest time entries.
Count
integer
Number of entries returned.
Next Cursor
string
Cursor for the next page, if more entries exist.
Create Invoice
Create a draft Harvest invoice with one free-form line item.
Inputs
Client
select (integer)
Yes
Client that will receive the invoice. Options load from the selected connection.
Line Item Category
select (string)
Yes
Existing Harvest invoice item category for the charge. Options load from the selected connection.
Line Item Description
string
Yes
Description shown for the invoice charge.
Unit Price
number
Yes
Price per unit in the client's currency.
Quantity
number
No
Number of units to invoice. Default: 1.0.
Subject
string
No
Optional invoice subject.
Project
select (integer)
No
Optional project associated with the line item.
Invoice Details
boolean
No
Show dates, payment terms, notes, and tax settings. Default: false.
Issue Date
date
No
Invoice issue date; defaults to today.
Payment Term
select (string)
No
When payment is due. Defaults to Upon Receipt. Available values: Upon Receipt, Net 15, Net 30, Net 45, Net 60, Custom Date.
Due Date
date
No
Exact due date for a custom payment term.
Notes
textarea
No
Optional notes shown on the invoice.
Tax Percentage
number
No
Primary tax percentage applied to the line item.
Apply Tax to Line Item
boolean
No
Apply the primary tax to this charge.
Outputs
Invoice
object
Created draft Harvest invoice.
Create Client
Create a client in Harvest.
Inputs
Client Name
string
Yes
Name of the client to create.
Address
textarea
No
Optional mailing address for the client.
Currency
string
No
Three-letter billing currency; defaults to the company currency.
Active
boolean
No
Make the client available for new projects and invoices. Default: true.
Outputs
Client
object
Created Harvest client.
Create Project
Create a project for an existing Harvest client.
Inputs
Client
select (integer)
Yes
Client that owns this project. Options load from the selected connection.
Project Name
string
Yes
Unique name of the project.
Billable
boolean
No
Allow tracked time to be billed to the client. Default: true.
Bill By
select (string)
No
How Harvest chooses the hourly billing rate. Available values: Project Hourly Rate, Task Hourly Rates, Person Hourly Rates, Not Billable. Default: Project.
Budget By
select (string)
No
How Harvest measures the project budget. Available values: Hours Per Project, Total Project Fees, Hours Per Task, Fees Per Task, Hours Per Person, No Budget. Default: none.
Project Details
boolean
No
Show codes, rates, budgets, dates, and notes. Default: false.
Project Code
string
No
Optional internal project code.
Fixed Fee
boolean
No
Treat the project as a fixed-fee engagement.
Project Hourly Rate
number
No
Hourly rate when billing by project.
Hours Budget
number
No
Budget in hours for time-based budget modes.
Money Budget
number
No
Money budget for a Total Project Fees budget.
Fixed Fee
number
No
Planned invoice amount for a fixed-fee project.
Start Date
date
No
Date the project starts.
End Date
date
No
Date the project ends.
Notes
textarea
No
Optional internal project notes.
Outputs
Project
object
Created Harvest project.
Important behavior
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

