Inline Functions: Transform Data in a Single Step

Overview

Inline Functions brings the familiarity of function-based transformations directly into your Tray workflows, enabling powerful data manipulation without leaving your connector steps. This game-changing feature optimises workflow efficiency whilst reducing complexity and task usage, allowing you to focus on building value-adding integrations.

inline functions sample

Key Features

  • **Simple Syntax: **Familiar function-based syntax makes data transformation accessible to users of all technical backgrounds (based on lodash library)
  • **In-connector Transformations: **Transform data directly within connector steps, eliminating the need for additional helper connectors
  • **Comprehensive Function Library: **Rich set of string, number, date, and boolean functions to handle complex data manipulation needs
  • Dynamic Arguments: Use data from previous steps and project configuration seamlessly as function parameters (using Tray's jsonpaths)
  • Intuitive Function Discovery: Built-in function search and syntax assistance helps you find and use the right transformations

Benefits

  • Optimised Task Usage: Consolidate multiple helper steps into single transformations, reducing overall task consumption
  • Enhanced Workflow Readability: Cleaner, more maintainable workflows with fewer steps and clearer data flow
  • Reduced Technical Barrier: Perform complex transformations without requiring JavaScript or Python expertise
  • Faster Execution: Streamlined workflows lead to quicker execution times and improved performance

Getting Started

Access Inline Functions through the f(x) input type option in any string-type field within your connector steps.

f(x) type

Visit our documentation to learn more about leveraging Inline Functions in your workflows, or watch this demo for a live walk-through of the current functionality.

Note: The current iteration supports string-type fields with date/time capabilities. Numbers and booleans are supported as string types. Additional type support will be introduced in future releases based on customer feedback.

Was this page helpful?