diff --git a/docs-v2/snippets/generated/metabase/PreBuiltTooling.mdx b/docs-v2/snippets/generated/metabase/PreBuiltTooling.mdx index 55d93cad08c..d4fe05e667c 100644 --- a/docs-v2/snippets/generated/metabase/PreBuiltTooling.mdx +++ b/docs-v2/snippets/generated/metabase/PreBuiltTooling.mdx @@ -12,7 +12,7 @@ | Tools | Status | | - | - | -| Pre-built integrations | 🚫 (time to contribute: <48h) | +| Pre-built integrations | ✅ | | API unification | ✅ | | 2-way sync | ✅ | | Webhooks from Nango on data modifications | ✅ | diff --git a/docs-v2/snippets/generated/metabase/PreBuiltUseCases.mdx b/docs-v2/snippets/generated/metabase/PreBuiltUseCases.mdx index 1529727d8af..4362d835451 100644 --- a/docs-v2/snippets/generated/metabase/PreBuiltUseCases.mdx +++ b/docs-v2/snippets/generated/metabase/PreBuiltUseCases.mdx @@ -1,5 +1,20 @@ + ## Pre-built integrations -_No pre-built integration yet (time to contribute: <48h)_ + + + + +| Endpoint | Description | Readme | +| - | - | - | +| `POST /users` | Creates a user in Metabase. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/create-user.md) | +| `DELETE /users` | Disables a user in Metabase by id. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/disable-user.md) | +| `PUT /users` | Updates an existing, active user in Metabase. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/update-user.md) | +| `GET /users/single` | Fetches details of a specific user by ID. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/fetch-user.md) | +| `PUT /users/enable` | Enables a disabled user. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/enable-user.md) | +| `GET /users` | Fetches a list of users from Metabase, including active and inactive users. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/syncs/users.md) | + + + Not seeing the integration you need? [Build your own](https://docs.nango.dev/guides/custom-integration-builder/overview) independently. diff --git a/packages/shared/flows.yaml b/packages/shared/flows.yaml index 04b1cb5f4b3..0b6438699dd 100644 --- a/packages/shared/flows.yaml +++ b/packages/shared/flows.yaml @@ -9372,6 +9372,84 @@ integrations: city_state: string description: string full_address: string + metabase: + actions: + create-user: + description: Creates a user in Metabase. + output: User + endpoint: + method: POST + path: /users + group: Users + input: CreateUser + disable-user: + description: Disables a user in Metabase by id. + endpoint: + method: DELETE + path: /users + group: Users + output: SuccessResponse + input: IdEntity + update-user: + description: Updates an existing, active user in Metabase. + endpoint: + method: PUT + path: /users + group: Users + input: UpdateUserInput + output: SuccessResponse + fetch-user: + description: Fetches details of a specific user by ID. + output: User + endpoint: + method: GET + path: /users/single + group: Users + input: IdEntity + enable-user: + description: Enables a disabled user. + endpoint: + method: PUT + path: /users/enable + group: Users + output: SuccessResponse + input: IdEntity + syncs: + users: + runs: every day + description: > + Fetches a list of users from Metabase, including active and inactive + users. + output: User + track_deletes: true + sync_type: full + endpoint: + method: GET + path: /users + group: Users + models: + SuccessResponse: + success: boolean + IdEntity: + id: integer + User: + id: integer + firstName: string + lastName: string + email: string + active?: boolean + CreateUser: + firstName: string + lastName: string + email: string + UpdateUserInput: + id: integer + email: string | null + first_name: string | null + last_name: string | null + is_group_manager: boolean | null + locale: string | null + is_superuser: boolean | null microsoft-teams: syncs: org-units: