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!

Google Workspace Error Message: "Your subscription has been suspended by your reseller"

Google Workspace Error Message: Service Is Temporarily Suspended until Your Customer Accepts the New Terms of Service

Google Workspace Error Message: "You already have a Google Workspace business email account. You can manage it from the Google Admin Console"

Google Workspace: Data Migration from an External Email to Your Google Workspace

Google Workspace: Revoking Admin Status to Delete a Workspace Account

Google Workspace: Connecting Your Business Email to a Mail Client Using IMAP and SMTP

Google Workspace: Changing the Language of Your Business Email

Google Workspace: Emails Missing from Your Business Email

Google Workspace: Allowing Access for ‘Less Secure Apps’ in Your Business Email

Google Workspace: Adding Google Workspace MX Records to Your Wix Account

Google Workspace: Setting Up a Domain Alias

Google Workspace: Manually Verifying Your Domain with Google

Google Workspace: Connecting a Business Email for a Domain Pointing to Wix

Google Workspace: Setting Up an Email Alias for an Existing Workspace User Email Address

Google Workspace: Resetting a Workspace User's Password

Google Workspace: Renaming a Workspace User

Google Workspace: Accessing Your Additional Workspace Users

Google Workspace: Purchasing Additional Business Emails from Wix

Google Workspace: Setting Up Business Email Users

Gemini for Google Workspace: An Overview

Google Workspace: Upgrading a Workspace Plan

Google Workspace: Choosing a Plan

Google Workspace: Business Email Sending Limits

Google Workspace: Forwarding Emails From Your Business Email to Another Email Address

Google Workspace: Resetting Your Admin Password

Google Workspace: Accessing Your Admin Console

Google Workspace: Identifying Your Admin Workspace User

Google Workspace: Setting Up Your Business Email on Mobile Devices

Google Workspace: Username and Password Guidelines

Google Workspace: Accessing your Business Email Through Your Wix Account

wix experts
Graphic2Traffic web design
©
bottom of page