<link rel="stylesheet" href="https://use.typekit.net/qis5rwu.css">

Generate JavaScript Formulas with AI

Describe the calculation or data transformation you need in plain English. AI generates a JavaScript formula using relevant data pills, helping you customize workflow logic without writing code from scratch.

Why It Matters

Add Custom Logic without Writing JavaScript from Scratch

The Challenge

Data Transformations, Calculations, and Formatting Often Require JavaScript Formulas.

With AI-Assisted Formula Generation

Quickwork Makes This Easier by Generating Formulas From Natural-Language Instructions, Helping Users Add Custom Logic to Their Journeys with Less Coding Effort.

What's Included

Turn Natural-Language Instructions into JavaScript Formulas

  • A plain-English instruction with data pills turned into a JavaScript formula in Formula mode.

    AI-Assisted Formula Generation

    What It Does

    Generate JavaScript formulas for calculations, formatting, validation, data transformations, and other custom logic using plain-English instructions.

    How It Works

    Describe the transformation you need and include relevant data pills from your Journey. AI generates a JavaScript formula that you can review, modify, and test in Formula mode, whether in Logger or a supported input field of any connected application.

Key Benefits

Add Custom Calculations and Transformations with Less Coding Effort

  • Generate Formulas Faster

    Turn natural-language instructions into JavaScript formulas without writing every line manually.

  • Make Custom Logic More Accessible

    Enable users with limited JavaScript experience to create formulas for calculations, formatting, and data transformations.

  • Work with Existing Journey Data

    Include data pills from earlier steps when generating formulas, making it easier to work with information across applications.

Use Cases

Real-World Use Cases

  • Finance

    Calculate Invoice Payment Deadlines

    Use AI to create a JavaScript formula that calculates payment due dates based on invoice dates, supplier-specific payment terms, and weekend adjustments. Use the calculated dates to update invoices in SAP.

  • Sales

    Calculate Tiered Customer Discounts

    Generate a formula that calculates discounts based on order value, customer category, and promotional thresholds. Use Salesforce customer data to apply the appropriate discount before updating an order in Shopify.

  • Operations

    Prioritize Service Requests

    Use AI to create a JavaScript formula that evaluates ticket priority, status, and creation date from Zendesk. Calculate the urgency of each request and route high-priority tickets for faster resolution or escalation.

FAQs

Common Questions, Answered

Quick answers to common questions about generating JavaScript formulas with AI.

  1. Yes. Describe the calculation or transformation you need in plain English, and AI generates a JavaScript formula that you can review and use in your Journey.

  2. Yes. Include relevant data pills in your instructions to generate formulas that work with information from previous steps.

  3. Yes. Generated formulas can be reviewed and modified in Formula mode to suit your requirements.

  4. Use NodeJS app when your requirements involve more complex JavaScript logic, multiple operations, or larger data processing tasks.

Quickwork Ecosystem

Use the Quickwork Ecosystem

Explore Quickwork’s learning resources, documentation, partner network, and community to find the level of support you need.

  • Training and Certification

    Learn Quickwork through guided training and certification programs covering workflow building, integrations, APIs, and AI-driven automations.

    Explore training
  • Product Documentation

    Find step-by-step guides to build Journeys, connect applications, manage APIs, and troubleshoot workflows.

    Read the docs
  • Partners

    Find a Quickwork partner with proven expertise to help design, build, and scale your automation strategy.

  • Community

    Ask technical questions, share feedback, and discuss Quickwork features with other users and experts.

    Visit community

See How Formula Generation Fits Your Journeys.