Import assets from Google Sheets to Cobalt

Recipe ToolsDocument/FileSales Enablement

What it does

When someone calls this automation, it reads rows from a Google Sheets spreadsheet and creates an asset in Cobalt for each row. If creation fails, the automation retries once and logs the outcome to the job report.

Who it's for

Operations and IT teams who need to bulk import assets from Google Sheets into Cobalt without manual entry.

How teams use this

Bulk import assets from a spreadsheet

Load a batch of assets from Google Sheets into Cobalt in one call, with automatic retry on failure and a complete job report. The team avoids manual data entry and gets a clear record of what succeeded.

Sync assets from a shared Google Sheets

Use this automation to keep Cobalt in sync with a Google Sheets that multiple teams maintain. Each import run pulls the latest rows and creates assets without opening Cobalt.

Filter rows by status before import

Add a condition to only import rows where a status column is set to ready, so incomplete assets stay in the sheet. This requires a filter step after fetching rows and before the loop.

Import assets for IT inventory tracking

Set up this automation to pull hardware and software assets from a Google Sheets maintained by procurement and load them into Cobalt for IT inventory management. The job report confirms all assets are tracked.

How it works

  1. Start the import. A function call initiates this automation in real-time, ready to process assets from the spreadsheet.
  2. Fetch rows from the sheet. Retrieve all rows from the Google Sheets spreadsheet in a batch so each row becomes an asset to import into Cobalt.
  3. Create each asset in Cobalt. For each spreadsheet row, create a matching asset record in Cobalt. If creation fails, retry once before logging the error to the job report.
  4. Report the results. Log a message to the job report showing which assets were created and which failed after the retry attempt completes.