Setyenv · Docs
  • English
  • Spanish
  • Chinese
  • Japanese
  • Arabic
  • German
  • French
  • Hindi
  • Indonesian
  • Italian
  • Dutch
  • Portuguese
  • Russian
  • Turkish

Templates

Pre-built workflow templates help you start quickly. Each template is a ready-to-use workflow graph with nodes, connections, and documentation.

Available templates

TemplateCategoryDifficultyWhat it does
Log when a post is publishedContentEasyCreates a log entry whenever a post is published. Simple trigger → action chain.
Queue new comments for moderationCommentsEasyHolds new comments for approval. Useful for sites that need editor review.
Log every new WooCommerce orderWooCommerceEasyRecords every new order in the execution log. Good starting point for order processing.

Using a template

  1. In the workflow editor, click the Templates button in the top bar
  2. Browse available templates by category
  3. Click a template to see its description, dependencies, and outcomes
  4. Click Install — a new draft workflow is created from the template
  5. Customise the workflow (change email recipients, adjust conditions, add more nodes)
  6. Activate when ready

Template dependencies

Some templates require specific plugins. The install dialog shows which dependencies are needed and whether they're already installed. For example, the WooCommerce template requires woocommerce/woocommerce.php.

Creating custom templates

Templates are just exported workflow JSON with extra metadata (category, description, difficulty, risk level, dependencies). To create your own:

  1. Build and test a workflow in the editor
  2. Export it via GET /pfw/v1/workflows/{id}/export
  3. Add template metadata (category, description, difficulty, etc.)
  4. Place the JSON in the templates directory