Microsoft SharePoint · Arazzo Workflow
SharePoint Ensure a List Item Exists
Version 1.0.0
Find an item by title and create it only when missing, then read it back.
View Spec
View on GitHub
CollaborationDocument-ManagementEnterprise Content ManagementIntranetMicrosoftArazzoWorkflows
Provider
Workflows
ensure-list-item
Idempotently ensure a single list item with a given title exists.
Resolves the list, searches it for an item matching the title, creates the item when absent, and reads back whichever item now exists.
1
resolveList
Confirm the target list exists before reading or writing items, and capture its id for logging and correlation.
2
findItem
Filter the list for an item whose Title equals the supplied value, returning at most one match. Title is not unique in SharePoint by default, so this treats the first match as authoritative.
3
4
readBackCreated
Fetch the newly created item by id to capture the server-assigned Created, Modified, and AuthorId values, then end the workflow so the already-existed branch does not also run.
5
readBackExisting
Fetch the pre-existing matched item by id so both branches return the same shape to the caller.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.