Type/to search
Nodes
Manual Trigger
Schedule Trigger
RSS Feed Trigger
Kline Close Trigger
Discord Trigger
Telegram Trigger
Slack Trigger
AI Agent
Sentiment Analysis
MCP Client
OpenAI Model
Anthropic Chat Model
Code Tool
HTTP Request Tool
MCP Client Tool
Code
HTTP Request
Edit Fields (Set)
Filter
IF
Loop Over Items
Merge
Aggregate
Compare Datasets
Convert to File
Crypto
Database
Extract from File
HTML
Limit
Log
No Operation, do nothing
RSS Read
Read Files from Disk
Remove Duplicates
Rename Keys
S3
Sort
Split Out
Stop And Error
Summarize
Switch
Telegram
Wait
Write Files To Disk
XML
App push
DingTalk Robot
Discord Bot
Email
Feishu Custom Bot
Slack
Account Info
Market Info
Trading Executor
Indicator
Trading Plugin
Credentials


A common pattern in workflows is receiving a file, either from an HTTP Request node or from a local source. Data obtained this way is often in binary format, such as a spreadsheet or PDF.

The Extract From File node extracts data from binary format files and converts it to JSON, which can then be easily manipulated throughout your workflow. To convert JSON back into a binary file type, see the Convert to File node.

Operations

Use the Operations dropdown to select the source file format for data extraction.

  • Extract From CSV: Extracts data from Comma Separated Values files, commonly used for tabular data.
  • Extract From HTML: Extracts fields from standard web page HTML format files.
  • Extract From JSON: Extracts JSON data from binary files.
  • Extract From ICS: Extracts fields from iCalendar format files.
  • Extract From ODS: Extracts fields from ODS spreadsheet files.
  • Extract From PDF: Extracts fields from Portable Document Format files.
  • Extract From RTF: Extracts fields from Rich Text Format files.
  • Extract From Text File: Extracts fields from standard text format files.
  • Extract From XLS: Extracts fields from Microsoft Excel files (legacy format).
  • Extract From XLSX: Extracts fields from Microsoft Excel files.
  • Move File to Base64 String: Converts binary data to text-friendly [base64][] format.

Example workflow

In this example, a Webhook node triggers the workflow. When a CSV file is sent to the webhook address, the file data is output and received by the Extract From File node.

Configured to operate as 'Extract from CSV', the node outputs the data as a series of JSON 'row' objects:

{ "row": { "0": "apple", "1": "1", "2": "2", "3": "3" } ...

/// tip | Receiving files with a webhook
Select the Webhook Node's Add Options button and choose Raw body, then enable that setting to configure the node to output the binary file that the subsequent node expects.
///

Node parameters

Input Binary Field

Specify the name of the field from the node input data that contains the binary file. The default value is 'data'.

Destination Output Field

Specify the name of the field in the node output that will contain the extracted data.

This parameter is available only for the following operations:

  • Extract From JSON
  • Extract From ICS
  • Extract From Text File
  • Move File to Base64 String

Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)