Monetize360
WorkflowsFunctions

Functions Overview

Complete reference for all Monetize360 workflow functions

Functions Overview

Monetize360 provides a comprehensive library of functions to build powerful workflows. Functions are organized into simple, easy-to-understand categories that match how you work.

Function Categories

CRUD Operations

Create, read, update, and delete data in your Objects:

[Image placeholder: CRUD operations visual guide]

User Interactions

Interact with users through emails and action requests:

  • Send Email - Send an email to one or more recipients
  • Assign Task - Create a task for someone to complete

[Image placeholder: User interactions examples]

System Functions

Core workflow logic, data processing, and utilities:

[Image placeholder: System functions overview]

External API

Connect with external systems and services:

[Image placeholder: API integration diagram]

Triggers

Start workflows automatically or manually:

  • Manual Start - Start the workflow manually (coming soon)
  • Scheduled Start - Run the workflow on a schedule (coming soon)
  • Form Submission - Start workflow when a form is submitted (coming soon)

[Image placeholder: Workflow triggers]

Understanding Function Properties

Each function has the following properties:

Execution Mode

  • SYNC: Waits for completion before proceeding to next node
  • ASYNC: Triggers operation and continues immediately

Block Type

  • NATIVE: Built-in platform functions
  • CUSTOM: User-created custom functions
  • FUNCTION: Reusable function blocks
  • API: API integration functions

Input/Output Schemas

Functions define clear input and output schemas using JSON Schema format. This ensures:

  • Type safety for your data
  • Clear documentation of required parameters
  • Validation of inputs before execution

Common Patterns

Simple CRUD Pattern

Start → FetchMData → UpdateLogic → InsertMData → End

User Approval Pattern

Start → InsertMData → UserAction → ApprovalAction → UpdateStatus → EmailNotification → End

Data Processing Pattern

Start → FetchMData → JavaScript (transform) → BulkInsertMData → End

External Integration Pattern

Start → FetchMData → CallExternalApi → ProcessResponse → InsertMData → End

[Image placeholder: Common workflow patterns]

Using Functions in Workflows

1. Drag and Drop

Simply drag functions from the function palette into your workflow canvas.

2. Configure Inputs

Each function has a configuration panel where you can:

  • Set required parameters
  • Map data from previous nodes
  • Define static values
  • Configure conditional logic

3. Connect Nodes

Connect function nodes to define the execution flow of your workflow.

4. Reference Outputs

Access outputs from previous nodes using expressions:

{
  "customerId": "${fetchCustomer.output.id}",
  "orderTotal": "${calculateTotal.output.amount}"
}

[Image placeholder: Using functions in workflow designer]

Function Categories Explained

Why These Categories?

We've organized functions to match how people naturally think about workflows:

CRUD Operations - "I need to work with data"

  • All database operations in one place
  • Create, read, update, delete records
  • Bulk operations for efficiency

User Interactions - "I need to involve people"

  • Email notifications
  • Wait for user actions
  • Interactive workflows

System Functions - "I need to process and control"

  • Workflow control (loops, subflows)
  • Data transformation (JavaScript, expressions)
  • Document generation
  • Reporting

External API - "I need to connect to other systems"

  • REST API integration
  • Third-party services
  • External data sources

Triggers - "How do I start workflows?"

  • Manual execution
  • Scheduled runs
  • Form submissions
  • API triggers

[Image placeholder: Category decision tree]

Best Practices

Choosing the Right Function

  1. Start Simple: Use basic CRUD operations before adding complexity
  2. Batch Operations: Use bulk functions for multiple records
  3. Reusable Logic: Create SubFlows for repeated operations
  4. Error Handling: Always plan for failure scenarios
  5. User Experience: Use UserActions and EmailNotifications for clear communication

Performance Tips

  • Use BulkInsertMData instead of multiple InsertMData calls
  • Fetch only the fields you need
  • Use expressions for simple calculations
  • Use JavaScript for complex transformations
  • Implement pagination for large datasets

Security Considerations

  • Validate all user inputs
  • Use role-based access control
  • Store sensitive data encrypted
  • Audit all data modifications
  • Implement approval workflows for critical operations

Function Documentation Structure

Each function page includes:

  • Overview: What the function does
  • Properties: Execution mode, type, ID
  • Input Schema: Required and optional parameters
  • Examples: Real-world JSON examples
  • Use Cases: Common scenarios
  • Error Handling: How to handle failures
  • Best Practices: Tips for optimal use
  • Related Functions: Similar or complementary functions

Getting Help

  • Inline Help: Hover over parameters in the workflow designer
  • Function Documentation: Detailed docs for each function
  • Examples: Pre-built workflow templates
  • Community: Ask questions in the community forum
  • Support: Contact support for assistance

[Image placeholder: Help and support resources]

Next Steps

Ready to start building workflows?

  1. Learn the Basics: Start with CRUD Operations
  2. Add Logic: Explore System Functions
  3. Connect Systems: Use External API
  4. Engage Users: Implement User Interactions
  5. Automate: Set up Triggers

[Image placeholder: Learning path]