I'm trying to use the "Send web request" option in JIRA's Project Automation to generate a Confluence Page via REST API.
I'm able to use the following code but I don't know how to force Confluence to create a child page under a Parent Page for which I will only have the Page Title available.
Since I'm trying to automate this process, I will not know the Page ID.
Can someone let me know how I can get the Page ID from the Page Title or generate the child page with just the Page Title.
{
"title": "ABCD",
"type": "page",
"space": { "key": "ABC" },
"status": "current",
"body": {"storage": {"value": "Sample Text", "representation": "storage"}}
}