Logo
For example "scheduled tasks"
Search
Info
Content
Category Navigation
  • 🔧  Pipes

  • Tadabase Functions

    Text Pipes

    Time Conversion

    Mask and Disguise

    Advanced Date Pipes

    Unit Conversion

    Mortgage Calculator Pipe

    Barcode Generator

    QR Code Generator

    Number Utility Pipe

    Search and Replace

    Tadabase Domain Utilities

    Base64 File Converter

    3rd Party Pipes

    Shopify

    Pipedrive Pipe

    Plaid Pipe

    Vehicle VIN Decoder

    OpenAI Pipe

    Freshdesk Pipe

    Toggl Track Pipe

    FedEx Pipe

    MySQL Pipe

    Letter Stream Pipe

    Microsoft OneDrive Pipe

    Klaviyo Pipe

    TaxJar Pipe

    QuickBooks Pipe

    Google Sheets Pipe

    Tadabase Rest API Pipes

    Vertical Lookup Pipe

    Connection Field Plucker Pipe

    Record Looper Pipe (Legacy)

    Generate CSV Pipe

Categories
🔧 Pipes
Tadabase Functions
Base64 File Converter

Base64 File Converter

Convert any file using the file URL to Base64 value which can be used to send files as an attachment in an email

Global Parameters

There are no global parameters for this pipe.

API Calls

This pipe contains the following API calls:

  • Convert File to Base64
  • Convert Base64 Image to JPG File

 

Convert File to Base64

All parameters with an asterisk (*) are required in order to trigger the pipe.

Parameters
  • URL* - Enter the URL of the file you would like to convert to Base64.

 

Response

The following responses are returned by the API call.

  • Status
  • File URL
  • Filename
  • Base64 - The Base64 encoded file.
  • Raw Output
  • MimeType
  • Size in Bytes
  • Size in Kilobytes
  • Size in Megabytes
 

Convert Base64 Image to JPG

This API call converts a base64 encoded string to a jpg file and saves the jpg image back to your Tadabase record. 

All parameters with an asterisk (*) are required in order to trigger the pipe.

Parameters
  • Base64 Image* - The base64 encoded string.
  • Table ID* - Which table would you like to save the jpg file to? To find the Table ID manually for testing purposes, navigate to the Table, and check the URL. The ID in the URL path between 'dataTables' and 'records' is your Table ID. In the example below, the Table ID of the Order Items table is eykNOvrDY3. You can also select the Table ID from the Record Value when setting the pipe parameters. 

  • Field Slug* - Which field would you like the jpg file to be saved to? In the "Fields" tab of the data table, click the settings icon in the top right corner, and check "Show Field Slug" to view the Field Slugs. 

  • Record ID* - Which record would you like the jpg file to be saved to? Enter the ID of the Record where you would like to save the converted file. You can get the Record ID by checking the URL, selecting it as a pipe parameter, or saving it to your table with a table rule. 
  • App ID* - Navigate to Settings -> API Keys to obtain your API credentials.

  • API Key* - Navigate to Settings -> API Keys to obtain your API credentials.

  • API Secret* - Navigate to Settings -> API Keys to obtain your API credentials.

 

Response

The following responses are returned by the API call.

  • Status - Was this pipe triggered successfully or not.
  • Message 
  • Record ID - The ID of the record the image was saved to.
 
Example:

      How did we do ?

      Previous Article
      Tadabase Domain Utilities
      Next Section
      3rd Party Pipes
      Article Navigation
    • Global Parameters
    • API Calls
    • Convert File to Base64
    • Parameters
    • Response
    • Convert Base64 Image to JPG
    • Parameters
    • Response
    • Example:
    • Back to top
      Developer portal Tadabase Community
      API
      100% Operational
      Apps
      100% Operational
      Builder
      100% Operational
      Overall Status
      100% Operational