Confluence · Arazzo Workflow
Confluence Upsert a Page by Title
Version 1.0.0
Find a page by title within a space and update it if it exists, otherwise create it.
View Spec
View on GitHub
CollaborationContent ManagementDocumentationKnowledge BaseWikiArazzoWorkflows
Provider
Workflows
upsert-page-by-title
Upsert a single Confluence page into a space, keyed on the page title.
Resolves the space, looks for an existing current page whose title exactly matches the supplied title, and either updates the matched page or creates a new one.
1
resolveSpace
getSpaces
Resolve the supplied space key to the numeric space id required to filter pages and to write.
2
findPage
getPages
Search the resolved space for a current page whose title exactly matches the supplied title, returning at most one match.
3
readCurrentVersion
getPageById
Read the matched page to capture its current version number. Confluence rejects an update that does not carry the next sequential version.
4
updateExistingPage
updatePage
Replace the matched page body with the supplied content, incrementing the version number by one. A 409 here means another writer moved the version first and the flow should be retried from findPage.
5
createNewPage
createPage
Create a new page in the resolved space when no page matched the title.