Logo
Home
Resources

Product

Custom Workflow

Resources

Blog
Youtube
Template
Home
>
Product
>
Template Top
>
detail

How to Perform Multiplication in HubSpot Workflows (Using Custome Workflow Starter)

This article explains the purpose, use cases, and operational steps for the "Multiplication Action" feature, part of the third-party HubSpot app "Custome Workflow Starter."

Demo Video

Over view
Code

Detail

Purpose

The primary purpose of this workflow action is to specify two numbers within a workflow (either property values or fixed numbers) and multiply them.

The calculation result is returned as an output value called "Calculation Result." This value can be used in subsequent workflow actions. Please use it for updating properties or for branching conditions.

Use Cases

This feature is particularly useful for automating processes that require numerical calculations, such as e-commerce or quote generation.

  • Calculating Total Price: Multiply the "Product Price" property by the "Quantity" property and automatically save the result to the "Total Amount" property.
  • Calculating Points: Multiply the "Purchase Amount" by a specific coefficient (e.g., 0.05) to calculate "Points Awarded."
  • Quote Calculation: Multiply "Work Hours" by "Hourly Rate" to calculate a line item for an estimate.

Setup and Execution Steps (As seen in the video)

The video shows the process of multiplying the number 2 by the number 2 and saving the calculation result (4) to a property.

Step 1: Check Workflow and Trigger

  • The process begins in the workflow editor.
  • The trigger (enrollment criteria) is set to activate when the "Event Date" property value is changed.

Step 2: Add the Custom Action

  • Click the "+" icon in the workflow to add a new action.
  • From the action selection panel, choose "Custome Workflow Starter" from the "Integrated apps" section.

Step 3: Select the Action

  • From the list of custom actions that appears, select "Multiplication Action."

Step 4: Specify the Numbers to Multiply

  • The configuration screen for "Multiplication Action" opens.
  • Base Number: Enter the first number. In addition to a fixed value, you can use a property token to set a dynamic value (e.g., the "Unit Price" property).
  • Second Number: Enter the second number. This also supports fixed values or property tokens (e.g., the "Quantity" property).
  • In the video, 2 is entered for the Base Number and 2 for the Second Number.
  • After configuring, click "Save."

Step 5: Use the Calculation Result (Action Output)

  • The "Multiplication Action" is an action that only outputs the calculation result. A subsequent action is required to save this result to a property.
  • In the workflow, click the "+" icon after the action and add a standard action like "Edit record" or "Set property value."
  • Select the target number property to save the result to (in the video, "Set num").
  • In the value input field, select "Action outputs."
  • Expand the "1. Multiplication Action" (the step number may vary) and select the Calculation Result output token.
  • This will set the "multiplication result" as the value for your chosen property.

Step 6: Verify the Final Result

  • Activate the workflow ("Workflow is On") and trigger it.
  • Go to the "Enrollment history" tab and open the history details for the executed contact (test@gmail.com).
  • In the "Action outputs" for the "1. Multiplication Action," you can see the VALUE is 4.0, confirming that the 2 * 2 calculation was executed correctly.
  • The subsequent "2. Edit record" action also succeeded, showing that the value 4.0 was saved to the property.

‍

Source Code

HTML
CSS
Javascript

FAQ

Search

Search more

Related Template

Need Customization?

We can customize this sample to match your specific business requirements.

Book Free Consultation

How to Automatically Remove Associations from Specific Records in HubSpot Workflows (Using Custome Workflow Starter)

How to Search for Marketing Events in HubSpot Workflows (Using Custome Workflow Business v2)

How to Search for Files in HubSpot Workflows (Using Custome Workflow Business v2)

How to Search for File Manager Folders in HubSpot Workflows (Using Custome Workflow Business v2)

How to Count Total Marketing Contacts in HubSpot Workflows (Using Custome Workflow Business)

Company Info
Name : SweetsVillage .Inc
CEO :
‍
Tomoo Motoyama

HomeTemplateCustomWorkflow
Terms & ConditionsPrivacy PolicyContact us

Copyright ©SweetsVillage .Inc

Back To Top Image