Siteleaf, a website publishing platform, allows developers to manage their websites in the cloud. Any event within Siteleaf can be set as a trigger for your flow. Now whenever the specified event happens, the associated flow will run automatically.
To set any Siteleaf event as trigger, you first need to switch on the trigger toggle button located near the ‘Start’ icon in your flow. Then, from the list of triggers under ‘All Triggers’ on the right, drag and drop Siteleaf in to the given box.
Once you are done with this, select any event of your choice that you wish to set as trigger from the ‘Select Trigger’ dropdown options. Let us have a look at the various Siteleaf events that you can set as triggers.
New Post: When you set ‘New Post’ as trigger, Built.io Flow will run the associated flow automatically whenever a new post is created on the specified Siteleaf site. To set this as trigger, first provide a relevant name for the trigger. Then, enter your Siteleaf’s API Key and API Secret. You also have to enter the ID of the site you wish to set the ‘New Post’ trigger for. Once you enter these details, save the trigger and click on ‘Done’ to return to your flow.
Once you have entered all the details, 'Save' them and click on 'Done'. This will take you back to canvas.