LogoLogo
  • Docs
  • Connector Configuration
  • Knowledge Base
  • Changelog
  • Connector Configuration
  • ActiveCampaign
  • Airtable
  • Asana
  • AWS
    • AWS SNS
  • Azure Cognitive Services
  • Blackboard
  • CloudFlare
    • CloudFlare Lists
  • DeepAI
  • DocuSign
  • Dropbox
  • Facebook Business
  • Freshdesk
  • Google
  • Highrise
  • Hubspot
  • Imperva
  • Jira
  • Jotform
  • LinkedIn
  • Mailchimp
  • Microsoft
  • Microsoft Dynamics 365 CRM
  • Monday
  • Open AI
  • Pipedrive
  • Quickbooks
  • Redmine
  • Salesforce
  • Schoology
  • Screenshot API
  • ServiceNow
  • Shopify
  • Slack
  • Snowflake
  • Trello
  • Twilio
  • Twitter
  • Typeform
  • Utilities
    • AI
    • AppEvents
    • Controls
      • Condition
      • Counter
      • Digest
      • Each
      • Join
      • Join Each
      • On Start
      • Set Variable
      • Switch
    • Converters
      • Archive
      • CSV to HTML
      • CSV to JSON
      • CSV to XLSX
      • Data URI to File
      • HTML to CSV
      • HTML to JSON
      • HTML to XLSX
      • JSON to CSV
      • JSON to HTML
      • JSON to XLSX
      • XLSX to CSV
      • XLSX to HTML
      • XLSX to JSON
    • CSV
      • Add Column
      • Add Row
      • Add Rows
      • Create CSV
      • Delete Columns
      • Delete Rows
      • Export CSV
      • Get Cell
      • Get Row
      • Get Rows
      • Import CSV
      • Rename Column
      • Update Rows
    • Email
    • HTTP
      • Delete
      • Dynamic Webhook
      • GET
      • PATCH
      • POST
      • PUT
      • Response
      • Uptime
      • Webhook
    • Language
    • Tasks
      • Request Approval
      • Request Approval Email
    • Test
      • After All
      • Assert
      • Before All
      • Call Count
      • Join
      • Process E2E Results
      • Tick
    • Timers
      • Scheduler
      • Timer
      • Wait
    • Weather
    • XML
      • JSON to XML
      • Validate XML
      • XML to JSON
      • XPath
    • Storage
      • Clear
      • Find
      • Get
      • On Item Added
      • On Item Removed
      • On Item Updated
      • Remove
      • Save To File
      • Set
    • RSS
      • Get Feed
      • New Feed Item
    • FTP
      • Create Directory
      • Download File
      • Get File Info
      • New File
      • Remove Directory
      • List
      • Remove File
      • Rename File
      • Upload File
    • Forms
      • Form Action
      • Form Trigger
    • Filters
      • Contains
      • Equals
      • Greater Than
      • Identity
      • Is Not Empty
      • Less Than
      • Modulo
      • Not Equal
      • Range
    • Files
      • Archive File
      • Download File
      • Load File
      • Load File Lines
      • Remove File
      • Save File
  • Xero
  • Zendesk Chat
  • Zendesk Tickets
  • Zoho
Powered by GitBook
On this page
  • Overview
  • Usage
  • Notes

Was this helpful?

Export as PDF
  1. Utilities
  2. Files

Save File

Overview

The File Storage Component allows saving a file to the database with its metadata, including filename, MIME type, and encoding. This component enables efficient file storage and retrieval for various applications.

Usage

This component is useful when files need to be uploaded and stored securely in a database for further processing or retrieval.

Properties

Property
Type
Description

filename

string

The name of the file to be stored.

mimetype

string

The MIME type of the file.

content

array / string

The content of the file to be saved.

contentEncoding

string

The encoding format of the content (e.g., utf8, base64, hex).

Input Ports

Port
Description

in

Accepts the file details for storage.

Output Ports

Port
Description

file

Emits metadata of the successfully stored file.

Processing Logic

  1. Receives Input Data:

    • Accepts filename, mimetype, content, and contentEncoding.

  2. Saves the File:

    • Stores the file in the database.

    • Uses the specified encoding format for content.

  3. Confirms Storage:

    • Emits metadata of the stored file, including its unique fileId, filename, and contentType.

    • If an error occurs (e.g., invalid content), it is logged or raised appropriately.

Output Data Schema

Property
Type
Description

fileId

string

The identifier of the stored file.

filename

string

The name of the stored file.

contentType

string

The MIME type of the stored file.

Notes

  • Supports Various Encoding Formats: Content encoding options include utf8, base64, hex, and more.

  • Secure and Reliable Storage: Ensures files are stored securely in the database.

  • Ideal for File Upload and Management Workflows: Enables seamless file handling for applications requiring document storage and retrieval.

PreviousRemove FileNextXero

Last updated 3 months ago

Was this helpful?