OpnForm icon indicating copy to clipboard operation
OpnForm copied to clipboard

Zapier integration

Open lepikhinb opened this issue 7 months ago • 1 comments

Description

  • Manage access tokens (Sanctum)
  • Zapier app

Zapier

Install Zapier

npm install -g zapier-platform-cli

Install dependencies

cd `zapier`
npm install

Login to Zapier

zapier login

Register the app

zapier register [TITLE]

Publish the app

zapier push

Set the base URL to receive webhooks from Zapier. The version usually looks like 1.0.0.

zapier env:set [VERSION] BASE_URL=[BASE_URL]

Testing

  1. Create an access token: http://localhost:3000/settings/access-tokens
  2. Create a Zap
  3. Authenticate using your token
  4. Submit a form

Summary by CodeRabbit

  • New Features

    • Introduced endpoints for managing Zapier integrations, including creating and deleting integrations.
    • Added API token management capabilities, including token creation and deletion functionalities.
    • Introduced a management interface for Access Tokens in the Settings page.
    • Added functionality for listing forms and workspaces through a new API.
    • Introduced a new UI component for managing access tokens.
    • Established a structured approach for Zapier authentication and triggers.
  • Bug Fixes

    • Fixed class attributes and event handling in the CopyContent.vue component.
  • Improvements

    • Enhanced VCheckbox.vue component to support flexible value types.
    • Improved the integration selection process with clearer user feedback.
  • Tests

    • Added test suites for Zapier triggers, including list_forms, list_workspaces, and new_submission.
  • Chores

    • Updated dependencies to include laravel/sanctum and pestphp/pest-plugin-laravel.
    • Configured Sanctum for API token management.

lepikhinb avatar Jul 17 '24 06:07 lepikhinb