âšī¸A Custom Liquid Action Example
Last updated
Last updated
Once you've read how our introduction to Automations, you're ready to start creating your own. Below is an example of a custom action in Automations. A custom action is a great place to run a GraphQL mutation if you want to modify something in the site's database.
This example will log data if the WebApp item's name contains 'Hello'.
Learn more about the Log liquid tag here: https://documentation.platformos.com/api-reference/liquid/platformos-tags#log - one caveat, to read logs you won't usually be able to use pos-cli with a Siteglide site, use siteglide-cli instead: