Extract tabular data from PDF files and convert them to CSV format using the pdftables.com service
pdftables.com
service, which converts the data into a CSV format. The resulting CSV file is then uploaded back into the same Flatfile Space as a new file, ready to be mapped and imported. This is useful for workflows where source data is provided in PDF reports or documents instead of standard spreadsheet formats.
pdfExtractorPlugin
function accepts a configuration object with the following options:
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
apiKey | string | Yes | - | Your API key from pdftables.com service |
debug | boolean | No | false | Enable verbose logging for troubleshooting |
.pdf
file uploaded in import
mode. If a matching file is detected, it will attempt the conversion process. If the required apiKey
is not provided, the plugin will log an error and fail silently.
apiKey
has been provided in the configurationdebug: true
in the plugin configuration to get detailed logs in your listener’s console outputpdftables.com
pdftables.com
.pdf
extension that are uploaded in import
mode. It will ignore all other files (Converted PDF)-{timestamp}.csv
appended to it