Overview
This node generates JSON configurations for a customizable app page, allowing users to define a page title, main text content (with HTML support), optional text input fields, optional file uploaders, and customizable buttons with callback or URL actions. It is useful for creating interactive app interfaces or forms dynamically within an automation workflow.
Use Case Examples
- Creating a support page with a title and description, including a text input for user feedback, a file uploader for attachments, and buttons for navigation or callbacks.
- Generating a custom form page with multiple buttons linking to URLs or triggering callbacks, with configurable input fields and file upload options.
Properties
| Name | Meaning |
|---|---|
| Page Title | The title of the page to be displayed. |
| Text Content | The main text content of the page, supporting HTML formatting. |
| Include Text Input | Whether to include a text input field on the page. |
| Text Input Options | Options for the text input field such as placeholder text, whether it is required, multiline support, and number of rows (if multiline). |
| Include File Uploader | Whether to include a file uploader on the page. |
| File Uploader Options | Options for the file uploader such as accepted file types and whether multiple files can be uploaded. |
| Buttons | A collection of buttons to display on the page, each with customizable text, type (callback or URL), callback data or URL, target for URL, color, and optional icon with customizable class, color, size, and position. |
Output
JSON
resultfaviconUrl- URL of the favicon for the page.title- The page title.text- The main text content of the page.textInput
*visible- Whether the text input field is visible.
*placeholder- Placeholder text for the text input field.
*required- Whether the text input field is required.
*multiline- Whether the text input field supports multiple lines.
*rows- Number of rows for multiline text input.uploadBoxVisible- Whether the file uploader is visible.fileUploaderOptions- Options for the file uploader if visible.reply_markup
*keyboard- Array of button configurations for the page, each button includes text, type, color, callback data or URL, target, and optional icon details.
Troubleshooting
- If required fields like 'Page Title' are missing, the node will throw an error. Ensure all required inputs are provided.
- If 'Include Text Input' or 'Include File Uploader' is enabled, ensure their respective options are correctly configured to avoid misconfiguration.
- Button configuration errors may occur if required button properties like text or type are missing or invalid.