Extensions Overview

What are Extensions?

Extensions allow the user to create reusable custom code. This is similar to using Custom JS, however extensions can be created one time and then be reused across your organization with a simple mapping. There are two types of extensions:

  1. Internal Extensions
  2. External Extensions 

Internal Extensions allow the user to create and host code within our system that can be reused throughout the account. We support the following languages: NodeJS 10, Python 3.7, and Go 1.11/Go1.13. In addition, you can include libraries to fully extend the possibilities of development. We host this code using the Google Cloud's Functions Service. We take all of the deployment and integration work out so the user only needs to understand how to write the code. NOTE: Internal Extensions are limited to the capabilities of Google's Cloud Functions for things like maximum payload, execution length, and so on. 

Great use cases for Internal Extensions include: 

  • Accessing external system to create a valid Order Number
  • Generating random data of a specific format (names, dates, etc)

External Extensions easily allow the user to set up an action to trigger an externally hosted API. Like Internal Extensions, these can be triggered either before or after an action takes place.

Great use cases for External Extensions include:

  • Triggering a function outside the scope of a website such as submitting an order from a POS machine
  • Managing usernames and passwords so you don't need to store them within our system.

NOTE: When Extensions are modified, please be patient while they are deployed. It can sometimes take a minute for the changes to the code to update.

 

Learn more about Extensions

User Guide: Extension Creation

User Guide: Mapping Extensions

User Guide: Extension Samples