> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Folk

> Connect to your users' Folk accounts to sync people, companies and deals with your app.

Product
Supported

## Connecting to Folk

Your users will need the following information to connect their Folk account with your integration built with Paragon Connect:

* **API key:** A workspace API key created in Folk under **Settings > API**. The key acts as the Folk workspace member who created it. See Folk's [API authentication documentation](https://developer.folk.app/api-reference/authentication) for details.

Once your users have connected their Folk account, you can use the Paragon SDK to access the Folk API on behalf of connected users. Paragon sends requests to `https://api.folk.app`.

See the Folk [API reference](https://developer.folk.app/api-reference/overview) for their full API documentation.

Any Folk API endpoints can be accessed with the Paragon SDK as shown in this example.

```js JavaScript theme={null}
// You can find your project ID in the Overview tab of any Integration

// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);

// List people
await paragon.request("folk", "/v1/people", {
  method: "GET",
  params: { limit: 20 }
});

// Create a company
await paragon.request("folk", "/v1/companies", {
  method: "POST",
  body: {
    name: "Acme Inc."
  }
});
```

## Building Folk workflows

Once your Folk account is connected, you can add steps to perform the following actions:

* **People:** Create, create in batch, update, upsert, delete, get by ID, and list people
* **Companies:** Create, update, delete, get by ID, and list companies, and link or unlink a person and a company
* **Deals:** Create, update, delete, get by ID, and list deals in a group
* **Custom objects:** Create, update, delete, get by ID, and list custom objects, and list object types
* **Notes:** Create, update, delete, get by ID, and list notes
* **Tasks:** Create, update, delete, get by ID, list, complete, and reopen tasks
* **Interactions:** Log, update, delete, get by ID, and list interactions
* **Groups:** Create, update, and list groups
* **Workspace:** List and get users, get the current user, list and get views, list and create custom fields, and search records

You can also use the [Folk Request](https://docs.useparagon.com/workflows/requests.md#making-integration-requests) step to access any of Folk's API endpoints without the authentication piece.

When creating or updating records in Folk, you can reference data from previous steps by typing `{{` to invoke the variable menu.

## Using triggers

Folk triggers subscribe to webhooks in your users' Folk account and run your workflows when Folk sends an event. You can optionally filter each trigger to records in a specific Folk group. You can use the following triggers:

* **Person Created**
* **Person Updated**
* **Person Deleted**
* **Company Created**
* **Company Updated**
* **Company Deleted**
* **Deal Created**
* **Deal Updated**
* **Deal Deleted**
* **Note Created**
* **Task Created**
* **Task Completed**
