Get list item ID by unique ID (extended)
Note: Virto Workflows for Office 365 is no longer sold. The add-in and the SharePoint 2013 workflows it adds actions to stopped working in SharePoint Online on April 2, 2026, when Microsoft retired SharePoint Add-ins and SharePoint 2013 workflows. This documentation is kept for reference.
When you create new list item using OOTB Create new item action it returns guid of newly created list item. If you want to get integer id of newly created list item, you can use the following Virto action. This action allows user to get list item integer ID by unique ID (guid) and saves it to a variable.

Parameters
Input parameters
| Parameter | Description | Example |
|---|---|---|
| Site URL (optional) | The URLs of a SharePoint site where you want to get list item integer id. Ifthe value field is empty, current site will be used. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site |
| URL%]subSite | ||
| Unique ID | Unique ID (guid) of list item which integer ID you want to get. | [%Variable:created%] 799e2825-a30c-4652-8d05-7af9f7d2f9b9 |
| List (optional) | List ID (guid) or name where you want to get list item integer ID. If the value field is empty, current workflowcontext list will be used. | Documents[%Workflow Context: List ID %] 107/Lists/Tasks |
| Variable | Variable to save the integer ID. If list item is not found by unique ID returns-1. |
Example
