Built.io Contentstack is a content management system offered by Built.io. Any event within Built.io Contentstack can be set as a trigger for your flow. Now whenever the specified event happens, the associated flow will run automatically.
To set any Built.io Contentstack 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 Built.io Contentstack 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 Built.io Contentstack events that you can set as triggers.
Unpublish Entry: Built.io Contentstack allows you to un-publish an already-published entry from a particular form. When you set ‘Unpublish Entry’ as a trigger, the associated flow would be triggered whenever an existing entry is unpublished from a particular form. To set ‘Publish Entry’ as trigger, first provide your Built.io Contentstack’s access token as well as site API key.
Under ‘Form UID’, click on ‘+ Item’ to add the UID of a form. The flow would run automatically only if an entry is unpublished from this particular form. You can add multiple form UIDs here. However, if no UID is provided, the event would apply to all forms. Once you have entered all the details, click on ‘Save’ and then ‘Done’.
Once you have entered all the details, 'Save' them and click on 'Done'. This will take you back to canvas.