top of page

Previous Automation Builder

Wix Automations: Using the Run Velo Code Action

Velo is Wix's full-stack development platform. Select the Run Velo Code action to enhance your automation using your own Velo code. Write your code, then run it to test, and then activate the automation.

With this automation action and the Velo APIs, you can customize your site or business in any way you like, for example, by updating your CMS, formatting data, or connecting to third-party applications. Learn more about using Velo.

Before you begin:

  • In order to use the Run Velo Code action, you must first enable Velo.

  • The custom extensions feature currently can’t be added to a site when using Git integration and Wix CLI. You need to have permission to publish the site and the site must be published.

To use the Run Velo Code action:

  1. Go to Automations in your site's dashboard.

  2. Start creating your automation by choosing your trigger in the Trigger section and selecting Run Velo Code in the Action section.

  3. Click Start Coding.

  1. Write your code in the window that opens.
    Note: 1. Lines 2 - 6 support the autocompletion system. Make sure you keep it in your code file. 2. Use the "Invoke" function to implement your action logic.

  2. You can use the data from the trigger or other parts of the automation by employing:

1payload.my_field
  1. You can view the payload specification by clicking Payload View.

  2. Save your code to integrate your custom logic in this automation.

  3. Before activating your automation, run your code to test it and make sure it gives the results you expect. Before you start your test:Define the sample data that will run in the test.
    Open your site logs to monitor the result.

Important:

Running your code to test it means it's running live, so might make changes within your site and/or dashboard.

  1. When you're happy it's running correctly, click Activate to activate your automation.

Notes:

  • You can edit the Run Velo Code action to work in your neutral code environment. Only editing is possible from the VS code and Velo editor environments. Learn more about custom extensions.

  • If you connect to a third-party provider using SPIs, you agree to the Wix.com Terms of Use. Wix is not responsible for your use of such a third-party provider, and any liability resulting from such use will be your responsibility.

Need A Professional Website?
Contact Us 
Today!

Wix Automations: Adding and Sending a Coupon

Wix Automations: Sending Automated Emails to Contacts After Form Submissions

Wix Automations: Customizing Automated Emails

Wix Automations: Creating a New Automation

Wix Automations: An Overview

The New Automation Builder: Understanding Email Types

The New Automation Builder: Creating a Multi-Action Automation

The New Automation Builder: Sending Data via Webhook

The New Automation Builder: Adding and Sending a Coupon

The New Automation Builder: Troubleshooting Wix Automations

The New Automation Builder: Understanding Conditions Operators

The New Automation Builder: Setting Up a 'Scheduled Time' Trigger

The New Automation Builder: Sending Data to Google Sheets

The New Automation Builder: Using the Property Picker

The New Automation Builder: Viewing and Managing Automations Installed for You

The New Automation Builder: Customizing Automated Emails

The New Automation Builder: Managing Your Automations

The New Automation Builder: Creating an Automation

The New Automation Builder: Overview

Microsoft Office 365 Mailbox Limits

Resetting the Password for Additional Office 365 Mailboxes

Resetting Your Admin Password for Your Office 365 Mailbox

Accessing Your Microsoft Office 365 Mailbox Through Your Wix Account

Accessing Your Microsoft Office 365 Mailbox Through Your Wix Account

Accessing the Microsoft Office 365 Admin Center

Activating Your Microsoft Office 365 Mailbox Purchased from Wix

Google Workspace: Troubleshooting Login Issues

Google Workspace: FAQs

Google Workspace: Contacting Google Support

Google Workspace Error Message: "You do not have access to Email"

wix experts
Graphic2Traffic web design
©
bottom of page