Import from CSV
Upload a spreadsheet instead of creating assets one at a time. The importer walks you through uploading a file and mapping its columns to asset fields, then creates the assets in the background.A column only imports if it maps to a field that already exists on one of your asset types. Add missing fields with Configure fields first. A type named in your file that doesn’t exist yet is created automatically, but only with fields that already exist.
1
Open the importer
Go to Assets in your workspace sidebar and click Import. Only organization admins see the button. The asset types in your file are linked to this workspace, so the imported assets show up in its Assets tab.You can also click Import on an asset type’s Assets tab. Opened from organization settings, the importer links the types to no workspace.
2
Upload your file
Upload a
.csv file or paste your data.3
Map your columns
Match each column in your file to an asset field. Asset Name and Asset Type are required. Asset Description and every custom asset field are optional. Columns you leave unmapped are ignored.
4
Start the import
Confirm the import. Ravenna shows an Asset import started toast and creates the assets in the background.
Sync from any system with Foundry
For a source without built-in device sync, such as an internal inventory API or another IT asset tool, connect it as a custom integration in Settings → Integrations. Then build Foundry functions that read the source and write to Ravenna’s asset API, and run them from a workflow with a Cron trigger on your sync schedule, such as0 2 * * * for every night at 2:00 AM.Foundry functions call Ravenna’s own API directly, so a function can create and update assets without extra credentials. Choose one of two flows:- One function
- Two functions
One function lists the assets in the source and creates or updates them in Ravenna.
1
Build the function
In Foundry, add a function on the source’s integration, such as “List every laptop with its serial number, model, and owner, then create or update the matching assets in Ravenna”. Test it, then publish it. See Build a function.
2
Schedule it
Create a workflow with a Cron trigger and add the function as its only step from Code Actions. Publish the workflow.
Syncing a large inventory
Syncing a large inventory
Have the function write through
POST /assets/bulk-create and POST /assets/bulk-update, which take up to 100 assets per request, instead of one request per asset.Match assets on a stable field
Match assets on a stable field
Describe how the function matches an item to an existing asset, such as by serial number or the source’s own ID, so each run updates the same asset instead of creating a duplicate.
Link the asset types to a workspace
Link the asset types to a workspace
Assets of a type with no linked workspace appear only in Settings > Organization - Assets. Link the type to the workspaces that should see them.
Manage assets with the API
Use the Ravenna API to sync assets from your own scripts. Authenticate with an API key in thex-ravenna-api-token header. Reads follow the same visibility as the web app. Creating, updating, assigning, archiving, and deleting need an organization admin.The API reference lists every request and response field, including the asset type, status, and asset attachment endpoints.
When one asset in a bulk request fails
When one asset in a bulk request fails
Ravenna saves each asset on its own, up to five at a time. If one fails, the request returns an error, and the assets already saved stay saved. Check which assets exist before retrying the whole list.
Updating the same asset twice
Updating the same asset twice
Each asset
id can appear only once in a bulk update. A request that repeats an id is rejected with “Each asset can appear only once per bulk update”.Learn more about syncing devices automatically