Import CSV file from Box into ServiceNow

Document/FileRecipe ToolsCustomer ServiceIT Service Management

What it does

When a new CSV file lands in Box, this automation reads each row and creates a record in ServiceNow. Someone uploads the file once, and ServiceNow gets populated automatically.

Who it's for

Operations teams who need to load purchase order data from Box into ServiceNow without manual entry.

How teams use this

Load purchase orders from procurement

Upload a new PO line file to Box each week, and ServiceNow fills with all line items automatically. The team stops copying data by hand.

Route PO records to approval workflow

After each record is created in ServiceNow, send it to the approval queue so finance can review before payment. Only the ServiceNow step changes.

Add vendor name from a lookup table

Include a step that checks a vendor master list and fills the vendor field on each ServiceNow record. The CSV only needs a vendor code.

How it works

  1. Detect new CSV file in Box. Monitor a Box folder for new or updated CSV files. When one arrives, the automation starts and reads the file contents.
  2. Loop through each row. Process the CSV row by row so each line item becomes a separate record in ServiceNow with its own data.
  3. Create ServiceNow record. Insert each row into the u_3rd_nov11 table in ServiceNow with all the fields from the CSV file.
  4. Log the result. Record a message in the ServiceNow job report so someone can verify how many records were created and if any errors occurred.