Publishing Workflows

Publishing a workflow in Lleverage makes it available for use by activating it based on its trigger type. Once published, your workflow becomes accessible through various interfaces depending on how it's designed to start.

Key Features

  • One-click publishing process

  • Activation toggle for controlling workflow availability

  • Different deployment options based on trigger type

  • Multiple link options for form and chat triggers

  • Embed codes for integration into other applications

  • API endpoints with code examples for developers

How to Publish Your Workflow

  1. First, test your workflow using the Run Panel to ensure it works as expected

  2. Click the "Publish" button in the top right corner of your screen

  3. Review any validation messages that appear (fix any issues if necessary)

  4. Confirm the publication - this will automatically toggle the workflow to "Active"

  5. The Publish Panel will open, showing deployment options

💡 The first time you publish a workflow, it will be activated automatically. You can toggle it on or off later.

How to Access the Publish Panel

  1. Click the "Publish" button to open the panel after making changes

  2. If no unpublished changes exist, click the active deployment information in the top bar

  3. The Publish Panel displays the active status toggle at the top and shareability options below

💡 You can reopen the Publish Panel at any time to view or modify deployment settings.

How to Publish Different Trigger Types

Form Trigger:

  1. The Publish Panel will display two app links:

    • Lleverage Link: Your app within the Lleverage workspace

    • External App Link: A standalone external link to your app

  2. Copy either link to share with users

  3. Click "Get Code" to access embed code for integrating the form into other websites

Chat Trigger:

  1. The Publish Panel will display two app links:

    • Lleverage Link: Your app within the Lleverage workspace

    • External App Link: A standalone external link to your app

  2. Copy either link to share with users

  3. Click "Get Code" to access embed code for integrating the chat interface

API Call Trigger:

  1. The Publish Panel will display an API endpoint

  2. Copy the endpoint URL for API integration

  3. View code examples in Node.js, Python, PHP, and Go

  4. No external app link is provided (API calls don't have user interfaces)

Schedule Trigger:

  1. The Publish Panel will display schedule information

  2. View when the workflow will run automatically

  3. No user interface or shareability options are provided

Integration Trigger:

  1. The Publish Panel will display information about the integration

  2. Similar to scheduled triggers, there is no user interface to share

⚠️ Schedule and Integration triggers run automatically from Lleverage's backend and don't have user interfaces to share.

How to Control Workflow Activation

  1. Locate the activation toggle at the top of the Publish Panel

  2. Toggle it ON to activate your workflow and make it available

  3. Toggle it OFF to deactivate your workflow temporarily without deleting it

  4. The current status is also shown in the top bar of the workflow editor

💡 Deactivating a workflow is useful when you want to pause its operation without losing your configuration.

How to Share Published Workflows

For Form and Chat triggers:

  1. Choose between the Lleverage link (within workspace) or External App link (standalone)

  2. Copy your preferred link from the Publish Panel

  3. Share the link directly with users

  4. Or click "Get Code" to use the embed code for website integration

For API Call triggers:

  1. Copy the API endpoint from the Publish Panel

  2. Use the provided code examples as reference

  3. Integrate the API call into your application

💡 When embedded via iframe, the workflow functions exactly as it does when accessed directly through the app links.

How to Embed Workflows in External Applications

Using HTML Embed Code:

  1. Publish your workflow with a Form or Chat trigger

  2. Click "Get Code" in the Publish Panel to access the embed code

  3. Copy the provided HTML iframe code

  4. Paste the code into your website, web application, or development project

  5. The embedded workflow will function identically to the standalone app

Using API Integration:

  1. Publish your workflow with an API Call trigger

  2. Copy the API endpoint from the Publish Panel

  3. Choose from the provided code examples (Node.js, Python, PHP, Go)

  4. Implement the API call in your development environment

  5. Include the bearer token for authorization as configured in your platform settings

💡 You can use free code editors or development environments to test your embedded workflows before deploying them to production.

⚠️ API integrations require a development environment and cannot be simply opened as HTML files in a web browser like embedded forms and chats.

Last updated