* Add folder for api settings * Init create api key page * Update create api key page * Implement api call to create apiKey * Add create api key mutation * Get id when creating apiKey * Display created Api Key * Add delete api key button * Remove button from InputText * Update stuff * Add test for ApiDetail * Fix type * Use recoil instead of router state * Remane route paths * Remove online return * Move and test date util * Remove useless Component * Rename ApiKeys paths * Rename ApiKeys files * Add input text info testing * Rename hooks to webhooks * Remove console error * Add tests to reach minimum coverage
76 lines
1.5 KiB
Plaintext
76 lines
1.5 KiB
Plaintext
---
|
|
title: Zapier App
|
|
sidebar_position: 1
|
|
sidebar_custom_props:
|
|
icon: TbBrandZapier
|
|
---
|
|
|
|
Effortlessly sync Twenty with 3000+ apps using [Zapier](https://zapier.com/). Automate tasks, boost productivity, and supercharge your customer relationships!
|
|
|
|
## What is Zapier?
|
|
|
|
Zapier is a tool that allows you automate workflows by connecting the apps that your team uses everyday. The fundamental concept of Zapier is automation workflows, which are known as Zaps, and include triggers and actions.
|
|
|
|
You can learn more about how Zapier works [here](https://zapier.com/how-it-works).
|
|
|
|
## Setup
|
|
|
|
### Step 1: Install Zapier packages
|
|
|
|
```bash
|
|
cd packages/twenty-zapier
|
|
yarn
|
|
```
|
|
|
|
### Step 2: Login with the CLI
|
|
|
|
Use your Zapier credentials to log in using the CLI:
|
|
|
|
```bash
|
|
zapier login
|
|
```
|
|
|
|
### Step 3: Set environment variables
|
|
|
|
From the `packages/twenty-zapier` folder, run:
|
|
|
|
```bash
|
|
cp .env.example .env
|
|
```
|
|
Run the application locally, go to [http://localhost:3000/settings/developers/api-keys](http://localhost:3000/settings/developers/api-keys), and generate an API key.
|
|
|
|
Replace the **YOUR_API_KEY** value in the `.env` file with the API key you just generated.
|
|
|
|
## Development
|
|
|
|
:::caution Note
|
|
|
|
Make sure to run `yarn build` before any `zapier` command.
|
|
|
|
:::
|
|
|
|
### Test
|
|
```bash
|
|
yarn test
|
|
```
|
|
### Lint
|
|
```bash
|
|
yarn format
|
|
```
|
|
### Watch and compile as you edit code
|
|
```bash
|
|
yarn watch
|
|
```
|
|
### Validate your Zapier app
|
|
```bash
|
|
yarn validate
|
|
```
|
|
### Deploy your Zapier app
|
|
```bash
|
|
yarn deploy
|
|
```
|
|
### List all Zapier CLI commands
|
|
```bash
|
|
zapier
|
|
```
|