- List contracts and people, with their departments, teams, and organization structure
- Log hours on contractor timesheets, and approve or reject timesheets and invoice adjustments
- Read time-off requests and balances, and create or review requests
- Read payments and their breakdowns
- React when Deel reports a change, such as a new contract or a submitted timesheet
Common use cases and example apps
These examples show what you can build with Deel, each with a prompt to start from.How to connect Deel
Who can create Deel connections depends on your plan and workspace settings. App + chat connectors are available by default. On Business and Enterprise plans, Who can create connections and clients starts at Admins. Some Enterprise workspaces start at No one, which disables the connector. An admin or owner changes it in Connectors → Admin settings → App + chat connectors. You can create multiple Deel connections using different API tokens, for example one for your Deel sandbox and one for production. When the connection is created, you can link it to the projects where you want to use it. Anyone building in a project can ask Lovable in the project chat to link their project to it. Linking follows the connection’s access rules.Prerequisites
Before connecting Deel, make sure you have:- A Deel account with access to More → Developer
- A Deel organization API token
- Permission to create connections in your Lovable workspace (see Who can create connections and clients)
Step 1: Get a Deel organization API token
A Deel organization API token lets your Lovable app call the Deel API for your company, limited to the scopes you choose. To create a Deel organization API token:Open Deel
Open access tokens
Create the token
Choose scopes
contracts:read, people:read, timesheets:write, and time-off:read. Each endpoint page in the Deel API reference lists the scopes it needs.To let Deel notify your app about changes, also select webhooks:write.Lovable does not check scopes when you connect. When your app calls Deel without a scope it needs, Deel rejects the request and names the missing scope.Copy the token
Step 2: Connect Deel to Lovable
Choose the Deel environment and paste your token to create the connection.Open Deel in Connectors
Add a connection
Name the connection
Configure the connection
- Environment: Production (the default) for your real Deel organization, or Sandbox for your Deel sandbox.
- Organization API token: the token from Step 1, created in the environment you selected.
Choose who can use this connection
Connect
Test with the Deel sandbox
Deel’s sandbox is a separate Deel environment with sample data and its own API tokens. Writes on a production connection change real contracts, timesheets, and payroll, so build and test write flows on a sandbox connection first. To use the sandbox:Create the sandbox
Create a sandbox token
Create a sandbox connection
Link the sandbox connection while you build
Get notified when something changes in Deel
Your app can react to changes in Deel, such as a new contract or a submitted timesheet, instead of checking Deel on a schedule. Deel sends a webhook: a message to an address in your app each time the event happens. The connection does not set this up on its own. Ask Lovable to build it, for example:- A public address in your app that receives Deel’s messages
- A subscription in Deel that sends the messages to that address
- A check on every message that confirms it came from Deel, so your app rejects anything else
webhooks:write scope and starts on your app’s preview address. After you publish the app, ask Lovable to point the subscription at the published app.
Your app must accept each message within 30 seconds. Deel retries failed messages and disables the subscription after 10 failures.
Update the token
To replace the token on an existing connection:Open the connection
Enter the new token
Save the token
Limitations
The Deel connector cannot:- Create Deel credentials from your app, such as API tokens, Deel sign-in links, or worker sessions. You create the organization token in Deel yourself.
- Make more than 5 requests per second. Deel sets this limit for your whole Deel organization, shared with every other tool that uses it, so Lovable builds apps that cache Deel data.
- Support per-end-user Deel login. Each connection represents a single Deel organization token shared across all projects linked to it.
Troubleshooting
Use these checks when connecting fails or a Deel request returns an unexpected status.Deel did not validate your credentials.
Deel did not validate your credentials.
Deel rejects a request for a missing scope
Deel rejects a request for a missing scope
time-off:read, then update the token on the connection.Requests fail after they worked before
Requests fail after they worked before
Deel returns too many requests
Deel returns too many requests
Retry-After time, and apps that Lovable builds wait that long before retrying. If it keeps happening, ask Lovable to cache more of what your app reads, or check which other tools share the Deel organization.Your app no longer receives Deel notifications
Your app no longer receives Deel notifications
Manage your Deel connection
Connections are managed from Connectors: select Deel, then open the connection.- Unlink projects to remove Deel access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
- Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use Deel stop working until a new connection is added. See Delete a connection for the steps and who can delete.