Package Information
Documentation
n8n-nodes-formaloo
This package provides n8n nodes for integrating with Formaloo, a form builder platform.
Nodes
Formaloo Trigger
- Node Name:
Formaloo Trigger - Type: Trigger
- Description: Triggers workflows when forms are submitted or updated in Formaloo
- Events Supported:
- Form Submit
- Row Update
- Payment Completed
- All Events
Formaloo Action
- Node Name:
Formaloo - Type: Action
- Description: Submit data to Formaloo forms with advanced field type handling
- Operations:
- Submit Form: Submit data to a specific Formaloo form with automatic field type conversion
Credentials
The nodes require Formaloo API credentials with the following fields:
- Secret API: Your Formaloo secret API key (used for JWT authentication)
- API Key: Your Formaloo API key (used for API requests)
These credentials are used to:
- Generate JWT tokens for authentication
- Make API requests to Formaloo endpoints
- Create and manage webhooks
Prerequisites
- A Formaloo account with API access
- Your Formaloo Secret API key
- Your Formaloo API key
Compatibility
- Minimum n8n version: 0.1.0
- Tested with n8n version: 1.17.0+
- Node.js version: 20.15 or higher
Installation
Follow the installation guide in the n8n community nodes documentation.
Alternatively, you can install manually:
Install the package:
npm install n8n-nodes-formalooAdd the nodes to your n8n instance by copying the
distfolder to your n8n custom nodes directory.
Usage
Setting up the Trigger Node
- Add a "Formaloo Trigger" node to your workflow
- Configure your Formaloo API credentials
- Select the form you want to monitor
- Choose the event type (form submit, row update, etc.)
- The node will create a webhook in Formaloo and trigger your workflow when events occur
Setting up the Action Node
- Add a "Formaloo" node to your workflow
- Configure your Formaloo API credentials
- Select the form you want to submit to
- Add form fields with their IDs and values
- The node automatically handles field type conversion for complex fields
For new users, check out the Try it out documentation to get started with n8n.
Field Types
Unsupported Field Types
The following field types are currently not supported and will be filtered out from the field selection:
matrix- Matrix fieldstable- Table fieldslookup- Lookup fieldsuser- User fieldsprofile- Profile fieldslinked_rows- Linked rows fieldsrepeating_section- Repeating section fields
Multiple Choice Fields
For Multiple Select fields, use comma-separated values to select multiple options:
Example:
Field Value: "Option 1, Option 2, Option 3"
Note: Make sure to use the exact option titles as they appear in your Formaloo form.
City/Country Fields
For City and Country fields, the node automatically searches and maps your input to the correct Formaloo option:
Example:
Field Value: "New York" or "United States"
The node will automatically find the matching city/country and submit the correct slug.
API Endpoints
The nodes use the following Formaloo API endpoints:
- Forms List:
GET https://api.formaloo.me/v3.0/forms/ - Form Details:
GET https://api.formaloo.me/v3.0/forms/{formSlug}/ - Webhooks:
POST/GET/DELETE https://api.formaloo.me/v3.0/forms/{formSlug}/webhooks/ - Form Submit:
POST https://api.formaloo.me/v3.0/form-displays/slug/{formSlug}/submit/ - Field Options:
GET https://api.formaloo.me/v3.0/fields/{fieldSlug}/ - City/Country Search:
GET https://api.formaloo.me/v4/fields/{fieldSlug}/choices/?search={searchValue}
Resources
Development
Local Development
Clone the repository and install dependencies:
git clone https://github.com/formaloo/n8n-nodes-formaloo.git cd n8n-nodes-formaloo npm installBuild and test locally:
npm run build npm run startThis will build the package and start n8n with your custom node loaded at http://localhost:5678
Alternative (manual):
npm run build N8N_CUSTOM_EXTENSIONS=$(pwd) npx n8n startWindows:
set N8N_CUSTOM_EXTENSIONS=%CD% & npx n8n startAfter making changes, rebuild and restart n8n:
npm run build
Available Scripts
npm run build- Build TypeScript to JavaScriptnpm run dev- Watch mode (auto-rebuild on changes)npm run start- Build and start n8n for testingnpm run lint- Check code qualitynpm run lintfix- Auto-fix linting issuesnpm run format- Format code with Prettier
Publishing
Publishing to npm
Update version in
package.jsonBuild and test:
npm run build npm run lint npm run start # Test manuallyPublish:
npm publish --access publicThe
prepublishOnlyscript will automatically build and lint before publishing.Create and push git tag:
git tag -a v1.5.0 -m "Release version 1.5.0" git push origin main git push origin v1.5.0
Version History
1.5.0
- Current version
- ResourceLocator with search functionality for form selection
- Improved form loading performance
- Enhanced error handling with
pairedItemsupport - Migrated to
httpRequestWithAuthentication - Backward compatibility with deprecated functions
Previous Versions
- See git tags and GitHub releases for detailed version history