Add/Replace Value
Overview:
The Add/Replace Value data action block lets you update or add new data to your extracted results. You can replace existing values or add new fields with constant values or values from other fields. This helps keep your data organized and ready for further use.
Steps to Set Up 'Add/Replace Value' Data Action Block:
-
Access Workflow:
- Navigate to the 'Workflow' section from the left panel on your Nanonets Extract Data page.
-
Add Data Action Block:
- Click on “Add a new step” to view all available data action blocks.
- From the list, select "Add/Replace Value".
Add/Replace Value
-
Configure Add/Replace Value:
-
Choose from the following options:
- Replace value in existing field: This allows you to replace the values in an existing field with either a constant value or a value from another field.
Replace value in existing field
-
Add new field: This option lets you add a new column to the table or create a new flat field by assigning a constant value or using a value from another field.
- Use the toggle if you want to add a new table column.
- Provide the “Name of the field to be added” in the input box.
Add new field
-
-
Set the Value:
- Enter a constant value, or choose a field/table column, or use a combination of both to set the values you want to add or replace in the target field/table column you selected earlier.
Set the Value
-
Test the Action:
- Select an uploaded file and click "Run Test" to verify that the block is working as expected with your selected fields and operation.
Test the Action
-
Complete Setup:
-
Once you've successfully configured and tested the block, click "Done" to save the action.
Complete Setup
-
You can apply this data action conditionally, using the Conditional Block.
Usecases
- You can combine values across 2 or more fields with other text and create a new field with it
- For eg: You can combine the "PO" + seller_name + invoice_number + invoice_date to generate a unique code or an invoice
- You can combine values across 2 or more table columns and create a new table column with it (This is currently available to select users and is feature flagged, reach out to support or your accoutn manager or it)
- You can create a new column combining existing columns
- You can replace existing column combining other existing columns
Updated 26 days ago