WordPress · Arazzo Workflow
WordPress Assign Post to Author
Version 1.0.0
Resolve a user by role, confirm them, and publish a post under their byline.
Provider
Workflows
assign-post-to-author
Find a user by role and publish a post attributed to them.
Lists users for a supplied role, and when one is found confirms the user and creates a published post with author set to that user id, then reads the post back to verify the assignment.
1
findAuthor
listUsers
List users filtered to the supplied role, returning the first matching account to attribute the post to.
2
confirmAuthor
getUser
Read the selected user by id to confirm the account before attributing a post to it.
3
createAttributedPost
createPost
Create a published post with its author set to the confirmed user id.
4
verifyPost
getPost
Read the created post back by id to confirm it was attributed to the chosen author.