Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
Overview
This node interacts with the "Forms" resource of an API, specifically performing the "Show Or Validate Form" operation. It is designed to either display a form or validate its contents based on the input parameters provided. This can be useful in workflows where you need to dynamically retrieve form data for user interaction or verify form data before proceeding with further automation steps.
Practical examples include:
- Displaying a form template to users for data entry.
- Validating submitted form data to ensure it meets required criteria before processing.
Properties
| Name | Meaning |
|---|---|
| Type | The type of the form to show or validate. |
| Lock Version | A numeric version lock to handle concurrency or version control of the form. |
| Subject | The subject or title associated with the form, possibly used for identification or display. |
Output
The node outputs JSON data representing the form details or validation results. The exact structure depends on the API response but typically includes form fields, validation status, and any error messages if validation fails.
If the form includes binary data (e.g., attachments), the node would handle this accordingly, but no explicit binary output handling is indicated in the provided code.
Dependencies
- Requires an API key credential for authentication to the external service hosting the Forms API.
- The base URL for the API must be configured in the node credentials.
- The node uses standard HTTP headers for JSON content negotiation (
Accept: application/jsonandContent-Type: application/json).
Troubleshooting
Common issues:
- Incorrect or missing API credentials will cause authentication failures.
- Providing an invalid form type or subject may result in errors or empty responses.
- Version conflicts if the
lockVersiondoes not match the current form version.
Error messages:
- Authentication errors: Check that the API key or token is correctly set up in the credentials.
- Validation errors: Review the form data being sent; ensure all required fields are included and correctly formatted.
- Version mismatch errors: Update the
lockVersionto the latest form version before submitting changes.
Links and References
- Refer to the API documentation of the Forms service for detailed information on form types, validation rules, and versioning.
- n8n documentation on how to configure API credentials and use HTTP request nodes for similar integrations.