ZBrain Documentation
  • ZBrain Documentation
    • Components of ZBrain
    • Getting started with ZBrain
    • 📚Knowledge base
      • How to create a knowledge base?
      • Knowledge source
      • Information schema
      • File summary
      • Automated reasoning
      • Retrieval testing
      • Knowledge base settings
    • 📱APP
      • How to create a new app?
      • How to set up and customize your app?
      • How to access the app reporting dashboard?
    • 🤖ZBrain AI agents
      • Get started with agents on ZBrain
      • Deploying pre-built agents
      • Creating custom AI agents
        • Agent setup
        • Define input sources
        • Define Flow
          • Key elements of a Flow
          • Flow Components
            • Activepieces Platform
            • AITable
            • Airtable
            • Amazon S3
            • Amazon SNS
            • Amazon SQS
            • Amazon Textract
            • Apify
            • Apollo
            • Approval
            • Asana
            • Azure Communication Services
            • Azure Cosmos DB
            • Azure Document Intelligence
            • Azure OpenAI
            • Azure Translation
            • Bannerbear
            • Baserow
            • Beamer
            • Bedrock Claude
            • Bettermode
            • Binance
            • Bing Search
            • Blackbaud
            • Bonjoro
            • Box
            • Brevo
            • Brilliant Directories
            • Bubble
            • CSV
            • Calendly
            • Certopus
            • Clearout
            • Clockodo
            • Code
            • Confluence
            • Connections
            • Constant Contact
            • Contiguity
            • Contentful
            • Customer.io
            • Crypto
            • Databricks
            • Data Mapper
            • Date Helper
            • DeepL
            • Delay
            • Discord
            • Discourse
            • Drip
            • Dropbox
            • Dust
            • Facebook Pages
            • Figma
            • Files Helper
            • Flowise
            • Flowlu
            • Formbricks
            • Frame
            • Freshdesk
            • Freshsales
            • GCloud Pub/Sub
            • GenerateBanners
            • GhostCMS
            • GitHub
            • GitLab
            • Gmail
            • Google Calendar
            • Google Contacts
            • Google Docs
            • Google Drive
            • Google Forms
            • Google Gemini
            • Google My Business
            • Google Search
            • Google Search Console
            • Google Sheets
            • Google Tasks
            • Groq
            • Hacker News
            • Heartbeat
            • HubSpot
            • HTTP
            • Image Helper
            • Inputs
            • Instagram for Business
            • Intercom
            • Invoice Ninja
            • Jira Cloud
            • Jotform
            • Kimai
            • Kizeo Forms
            • LeadConnector
            • Line Bot
            • Linear
            • LinkedIn
            • LinkedIn Actions
            • LLMRails
            • Lusha
            • MailerLite
            • Mailchimp
            • Mautic
            • Microsoft Dynamics 365 Business Central
            • Microsoft Dynamics CRM
            • Microsoft Excel 365
            • Microsoft OneDrive
            • Microsoft Outlook Calendar
            • Microsoft Teams
            • Mixpanel
            • MongoDB
            • Notion
            • Odoo
            • OpenAI
            • OpenRouter
            • Pastebin
            • PDF
            • Postgres
            • PostHog
            • Pushover
            • Qdrant
            • Queue
            • Razorpay
            • Router
            • Salesforce
            • SendGrid
            • ServiceNow
            • SFTP
            • SharePoint
            • Slack
            • SMTP
            • Snowflake
            • SOAP
            • Spotify
            • Stability AI
            • Stable Diffusion Web UI
            • Storage
            • Stripe
            • SurrealDB
            • SurveyMonkey
            • Taskade
            • Telegram Bot
            • Text Helper
            • Trello
            • Twilio
            • Twitter
            • Utilities
            • WhatsApp Business
            • WordPress
            • XML
            • YouTube
            • ZBrain
            • Zendesk
            • ZeroBounce
            • Zoho Books
            • Zoho CRM
            • Zoho Invoice
            • Zoom
          • How to Define a Flow?
          • How to Test Each Step in the Flow?
        • Configure Additional Settings
        • Test and Deploy Agents
        • How to access, monitor, and manage agent performance and tasks?
    • Settings
    • 📖API Tutorials
      • 📚Knowledge base
        • Automated Reasoning
      • 📱APP
      • 🤖Agents
Powered by GitBook
On this page
  • How to Use Files Helper in ZBrain Flow?
  • How to Read a File?
  • How to Create a File?
  • How to Change File Encoding?
  • How to Check File Type?
  1. ZBrain Documentation
  2. ZBrain AI agents
  3. Creating custom AI agents
  4. Define Flow
  5. Flow Components

Files Helper

The Files Helper piece in ZBrain Flow provides essential file management capabilities for your workflows. This versatile component allows you to read, create, and manipulate files within your automations. With Files Helper, you can process file contents, generate new files with custom data, convert file encodings, and verify file types - all crucial operations when building workflows that involve document processing, data transformation, or content generation.

How to Use Files Helper in ZBrain Flow?

  • Click on the '+' button in the Flow and search for Files Helper.

  • Select Files Helper.

  • Decide on the action you need, then select it. ZBrain Flow provides several options:

    • Read File – Reads content from an existing file.

    • Create File – Generates a new file with specified content.

    • Change File Encoding – Converts a file from one encoding format to another.

    • Check File Type – Analyzes a file to determine its MIME type and optionally filter by type.

How to Read a File?

Step 1: Select File

  • Use the ‘File’ field to add the file you want to read.

Step 2: Choose Output Format

  • From the ‘Output format’ dropdown, select how you want the file content to be returned:

    • Text - Returns the content as plain text.

    • Base64 - Returns the content encoded in Base64 format.

How to Create a File?

Step 1: Specify Content

  • In the ‘Content’ field, enter or paste the data you want to include in the file.

Step 2: Set File Name

  • Enter the desired ‘File name’ for your new file.

Step 3: Choose Encoding

  • From the ‘Encoding’ dropdown, select the character encoding for your file. The default is UTF-8, which works well for most text-based files.

How to Change File Encoding?

Step 1: Select Source File

  • Use the ‘Source file’ field to add the file whose encoding you want to change.

Step 2: Specify Source Encoding

  • From the ‘Source encoding’ dropdown, select the current encoding (e.g., UTF-16LE ) of your file.

Step 3: Set Output File Name

  • Enter the desired ‘Output file name’ for the converted file. You can use the same name as the source file or create a new name.

Step 4: Choose Output Encoding

  • From the ‘Output encoding’ dropdown, select the target encoding format (e.g., Binary).

How to Check File Type?

Step 1: Add File

  • Use the ‘File to Check’ field to add the file you want to analyze.

Step 2: Specify MIME Types

  • From the ‘Select MIME Types’ dropdown, choose specific file types to match against. You can select multiple MIME types to filter for specific formats.

PreviousFigmaNextFlowise

Last updated 1 month ago

🤖