Nichesss icon

Nichesss

Interact with Nichesss.com

Document → Add to Document

AI-generated

Overview

This node operation allows users to add content to an existing document on the Nichesss platform. It supports sending commands to modify the document, optionally including text before and after the generated output, and can send the request body as raw JSON. Users can also specify language and formality options for the generated text and provide a webhook URL to receive the generated content asynchronously. This operation is useful for automating document updates, content generation, and integration with other systems via webhooks.

Use Case Examples

  1. Automatically append generated storytelling content to a document based on a command input.
  2. Insert custom text before and after generated content in a document for enhanced context.
  3. Use JSON parameters to send complex commands and language settings in a single request.
  4. Receive generated document content via a webhook for further processing or notifications.

Properties

Name Meaning
DOCUMENT ID The unique identifier of the document to which content will be added.
JSON Parameters Flag to indicate whether the request body should be sent as raw JSON.
Command The command or instruction to execute for generating content to add to the document.
Before Optional text to insert before the generated output in the document.
After Optional text to append after the generated output in the document.
Webhook URL Optional URL to receive the generated text asynchronously via webhook.
Language Options to override language and formality settings for the generated text.

Output

JSON

  • documentId - The ID of the document that was updated.
  • addedContent - The content that was added to the document.
  • status - The status of the add operation, e.g., success or failure.

Dependencies

  • Nichesss API key credential for authentication

Troubleshooting

  • Ensure the DOCUMENT ID is correct and the document exists to avoid not found errors.
  • If using JSON Parameters, verify the JSON structure is valid to prevent request failures.
  • Check network connectivity and webhook URL correctness if using webhook integration.
  • Adjust timeout and proxy settings in Request Options if facing connectivity issues.

Discussion