EXCEL Smart fill (AI-powered column mapping) function

The EXCEL Smart fill (AI-powered column mapping) function in RPA.

Help CentreBuilding Processes

This article describes the RPA Excel functionality to smart fill using AI-powered column mapping.

For a full list of available functions, please read EXCEL functions.


Description

Intelligently paste data from memory into a sheet, automatically mapping columns even when names don't match exactly. Takes data stored in a variable (typically from Copy rows or Extract data) and pastes it into the target sheet. First attempts exact case-insensitive matching, then uses AI to resolve remaining columns by recognizing abbreviations, synonyms, different wording, and typos.


Setting it up

To use the EXCEL Smart fill function, follow these instructions:

{{popups:rpas/add:action=excel-smart-fill}}

Once on a process map:

  1. Navigate to the process where you would like to add the EXCEL Smart fill function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the EXCEL Smart fill option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File pathYesTextFull path to the Excel file.
SheetYesTextThe target sheet to paste data into.
VariableYesTextThe variable containing the source data (from Copy rows, Extract data, etc.).
Result variableNoTextsmart_fillName of the variable where the mapping result will be stored.

Output variables

The result variable contains:

  • mapping – The column mapping used (source to target)
  • rows – Number of rows pasted
  • success – Whether the paste completed successfully

Examples of AI-resolved mappings

Source columnTarget columnResolution
Inv. No.Invoice NumberAbbreviation
AmtAmountAbbreviation
QtyQuantitySynonym
Cust NameCustomer NameAbbreviation
Unit PrcUnit PriceAbbreviation + typo

Errors

ErrorDescription
File not openThe Excel file must be open before using this function.
Sheet not foundThe specified sheet does not exist.
Variable emptyThe source variable contains no data.
AI not configuredThe AI API endpoint is not configured.

Tips

  • Use Smart fill instead of Paste sheet when source and target column names differ.
  • Ideal when data comes from external systems with different naming conventions.
  • Check the result variable to see the mapping the AI used.

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.