Usage
A key component of Flatfile’s headless automation workflow is the automapping functionality provided by our Automap Plugin. Upon uploading a file, after file extraction is complete, the data needs to be mapped to a destination Workbook. In a non-headless environment a human might do this manually. But in a headless environment, we’ll automate this process. We’ll use Automap to do this for us.Install
First, add the plugin to your project.Configure
Next, configure the plugin. Choose an accuracy level, a default target sheet, and a regex expression to test incoming files. accuracy: eitherconfident or exact defaultTargetSheet: the name of the sheet you want to map to
matchFilename: regex that will match on incoming files
Note you may also set
debug to true for useful error messages in
development.