app icon
txtgenarator
0.0.2

generate txt file from input

xyy/txtgenarator1140 installs

txtgenarator

Author: xyy
Version: 0.0.1
Type: tool

Description

Txt Generator Tool for Dify

A simple and efficient Dify plugin that allows users to input a title and content, then automatically generates and returns a downloadable file encoded in UTF-8. Ideal for scenarios such as automatic report generation, LLM output exporting, and document automation workflows.


✨ Features

  • ✅ Accepts dynamic input: and
  • ✅ Automatically generates file with UTF-8 encoding
  • ✅ Returns downloadable file blob, no local file write needed
  • ✅ Suitable for batch processing and integration into workflows
  • ✅ No external API or internet required

🔧 Setup Instructions

This plugin runs within the Dify plugin system and requires no external services or credentials. To install and use the plugin:

  1. Deploy the plugin in your Dify instance.
  2. Add the plugin to your Dify App or Workflow.
  3. Provide and as tool parameters.
  4. The plugin will return a file encoded in UTF-8, ready for download.

🧪 How to Use in Workflow

Input Schema

ParameterTypeRequiredDescription
contentstringYesBody content of the TXT file
titlestringYesTitle of the TXT file

Sample Parameters

CATEGORY
Tool
VERSION
0.0.2
xyy·05/16/2025 09:18 PM
REQUIREMENTS
Tool invocation
App invocation
Endpoint registration
Maximum memory
256MB