Extension Creation

Create or Modify Extensions

  1. Go to the user profile dropdown menu.
  2. Click on Extension Management.
  3. From here you can create and modify Internal and External Extensions.

Create an Internal Extension

  1. Click the Create Extension button. The sample code provided includes a "toLowerCase" function which would update all inputs to lower case.  Notice the specific format required that includes: "updates", "action", "attributes", "value".Extension13.png
  2. The Function to Execute defaults to helloWorld but is just the starting point for the program to run. This can be updated if desired.Extension15.png
  3. Update the code to perform any action desired. You may update the package.json for a Node program and similar for Go or Python. Input and response interfaces can be found below in this documentation.
  4. Update the Name of the extension. Only AlphaNumeric characters are allowed.
  5. Then select the Privacy of the extension being created.  This can be Private (only for the creator) or for the entire Team, accessible across projects.
  6. Click Create Extension.
  7. The new extension will appear in the list.

Create an External Extension

  1. Click the Create External Extension button.
  2. Input the Name of your extension. This must be AlphaNumeric.
  3. Input the POST Endpoint for your API. This endpoint must follow identical guidelines for input and output parameters as Internal Extensions.Extension18.png

  4. Click Save.

  5. The new extension will appear in the list.Extension19.png

Test your Extension

Internal and External Extensions are tested in the same way.

Run Parameters Body examples and supported fields can be found in the User Guide: Extension Samples.

  1. Click an extension to open a testing modal. Add various inputs to the extension to make sure it works in the Action Types (Inputs, Clicks, etc) as expected.Extension22.png
  2. Click Run.
  3. Output will be returned: Extension2.png

Delete an Extension

Extensions can be unmapped from an Action via the Mapping dialog noted above.

Extensions can be deleted from the Extension Management page.

  1. Hover over the Extension.
  2. Click the X icon
  3. Confirm the deletion. NOTE: Deleting Extensions that are mapped will delete the existing mappings.