Actions22
- Content Plan Actions
- Document Actions
- Generation Actions
- Language Actions
- Tool Actions
- Business Route Actions
Document → Create Document Using Template
AI-generatedOverview
This node operation allows users to create a document using a predefined template on the Nichesss platform. It is useful for automating document generation where the content is dynamically filled based on template variables. For example, a user can generate marketing brochures, reports, or personalized letters by specifying a template ID and providing the necessary template fields or raw JSON content.
Use Case Examples
- Generating a marketing brochure by specifying a template ID and filling in fields like title, description, and key points.
- Creating a personalized letter by sending raw JSON content that matches the template's expected variables.
Properties
| Name | Meaning |
|---|---|
| JSON Parameters | Determines whether the request body is sent as raw JSON or constructed from individual fields. |
| Template ID | The identifier of the template to use for document creation. |
| Template Fields | Key-value pairs representing the variables required by the chosen template, including the type of each value (string, number, boolean, JSON). |
| Webhook URL | Optional URL to receive the generated text via webhook. |
| Language | Overrides for language and formality settings for the generated text, including language ID and formality level. |
| Content (JSON) | Raw JSON string representing the entire request body for document creation, used when JSON Parameters is true. |
| Request Options | Settings for batching, SSL certificate validation, proxy usage, and request timeout to control how the request is sent. |
Output
JSON
documentId- The unique identifier of the created document.status- The status of the document creation request.content- The generated content of the document.
Dependencies
- An API key credential for Nichesss API authentication
Troubleshooting
- Ensure the Template ID is valid and accessible; invalid IDs will cause request failures.
- If using JSON Parameters, verify the JSON content is correctly formatted and matches the template's expected structure.
- Check network connectivity and proxy settings if requests time out or fail.
- If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.