Awell Health Developer Hub
Dev Hub
← Back to the Marketplace
Transform

Transform

Transform is an extension on Awell's Marketplace with utility functions that allows you to transform data from one type to another.
Data

title: Transform

description: Transform is an extension with utility functions that allows you to transform or parse data to a format of your liking

Transform

Transform is an extension on Awell's Marketplace with utility functions that allows you to transform data from one type to another. These functions are particularly useful e.g. when system A works with IDs that are numbers but system B works with IDs that are strings.

Custom Actions

Parse number to text

Transform or parse a number to text (string).

Parse text to number

Transform or parse text (string) to a number. Will return NaN if the input data is not an actual number.

Parse date to unix timestamp

Transform or parse a date to a unix timestamp.

Parse unix timestamp to unix date

Transform or parse a unix timestamp to a date.

Parse number to text with dictionary

Transform or parse a number to a string using a dictionary. Useful for when you have numeric data points but want to map them to strings based on a dictionary. When the action is called with a number that does not have a corresponding mapping in the provided dictionary, it simply returns the number itself as a string.

The dictionary should be structured in JSON format with string keys mapping to string values. Each key represents a number (as a string), and each value is the corresponding text representation.

Example:

{
  "0": "Male",
  "1": "Female",
  "2": "Not known",
  // ... other number mappings ...
}

Generate dynamic URL

Generate a dynamic URL based on a URL template with placeholder and a data point value.

urlTemplate   https://your-url.com/{{placeholder}}
value         hello-world
outcome       https://your-url.com/hello-world

Feet and inches to inches

Converts a measurement in feet and inches to just inches.

Pricing
Free
Custom Actions
Feet and inches to inches
Parse date to unix timestamp
Parse number to text
Parse text to number
Parse unix timestamp to date
Parse number to text with dictionary
Generate dynamic URL
Parse text to phone number
Serialize JSON
Author
Awell
Version
1
Support
info@awellhealth.com

Other extensions