Skip to content

Conversation

@luancazarine
Copy link
Collaborator

@luancazarine luancazarine commented Sep 27, 2023

[Components] Wufoo #8183
Triggers:

  • New Form Entry

Actions:

  • Submit form entry

WHAT

🤖 Generated by Copilot at 2f388cd

This pull request adds a new Wufoo component to the Pipedream repository, which consists of an action and a source for interacting with Wufoo forms. The action allows users to submit a new entry to a form, and the source emits an event when a new entry is created. The pull request also updates the pnpm-lock.yaml file and the package.json file for the Wufoo component, and deletes some unused files.

🤖 Generated by Copilot at 2f388cd

To make forms with Wufoo more fun
We added a new action and source
They use the Wufoo API
And the qs library
To send and receive data at once

WHY

HOW

🤖 Generated by Copilot at 2f388cd

  • Add a new action component for Wufoo to submit a new entry to a form (link)
  • Use the Wufoo API to list the form fields and send the data to the form endpoint (link)
  • Use the qs module to stringify the data as a query string (link, link, link, link)
  • Use the utility functions from components/wufoo/common/utils.mjs to handle the custom fields of the form (link, link)
  • Use the form hash prop from components/wufoo/wufoo.app.mjs to select a form from a list of options (link, link)
  • Add a new source component for Wufoo to emit an event when a new form entry is created (link)
    • Use the Wufoo API to list the form entries and compare them with the last entry id stored in the database (link, link)
    • Use a timer prop to poll the Wufoo API on a regular interval (link)
    • Add a sample emit file for testing purposes (link)
  • Add a new app file for Wufoo to contain the authentication and common methods for the Wufoo API (link)
    • Define a prop definition for the form hash that allows users to select a form from a list of options (link)
    • Delete the old app file components/wufoo/app/wufoo.app.ts (link)
    • Delete the .gitignore file in components/wufoo (link)
  • Update the package.json file for the Wufoo components to include the qs dependency, change the version to 0.1.0, and change the main entry point to wufoo.app.mjs (link)
  • Update the pnpm-lock.yaml file to include the dependencies for the Wufoo component and other unrelated components (link, link, link)

Triggers:
  - New Form Entry

Actions:
  - Submit form entry
@luancazarine luancazarine linked an issue Sep 27, 2023 that may be closed by this pull request
@vercel
Copy link

vercel bot commented Sep 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pipedream-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2023 6:29pm
pipedream-docs-redirect-do-not-edit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2023 6:29pm

Copy link
Collaborator

@jcortes jcortes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @luancazarine LTGM! Ready for QA!

@luancazarine
Copy link
Collaborator Author

/approve

Copy link
Collaborator

@jcortes jcortes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved!

@luancazarine luancazarine merged commit 466402f into master Sep 29, 2023
@luancazarine luancazarine deleted the 8183-components-wufoo branch September 29, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Components] Wufoo

3 participants