Create Page

Siteleaf, a website publishing platform, allows developers to manage their websites in the cloud. If you wish to create a new page within an existing site in your Siteleaf account, you can achieve it easily using this activity. To do this, add this activity to your canvas, configure it, and create a new Siteleaf connection.

In the ‘Site ID’ field, specify the ID of the site within which you wish to create a new page. Enter a title for the new web page in the ‘Title’ field. You can enter other details for the page, such as body text, custom slug, publish date, author id, parent id, metadata, and asset ids. The activity also allows you to set the visibility (draft, hidden, visible) of the page.   

create-page

Once you have entered all the details, click on ‘Done’ and run the flow. This will create a new page in the specified site in your Siteleaf account.

Output:
  • output-arrow siteleaf-128 Create Page
    • left-triangle id string
    • left-triangle title string
    • left-triangle slug string
    • left-triangle url string
    • left-triangle body string
    • left-triangle visibility string
    • left-triangle created_at string
    • left-triangle updated_at string
    • left-triangle published_at string
    • left-triangle user_id string
    • left-triangle site_id string
    • left-triangle parent_id string
    • left-triangle meta array