Calculate a date with a no-code step
- In your workflow editor, click + Add step.
- Select Integrations > Quick action.
- Click Configure.
- Click the Quick Action operation field and select Calculate Datetime.
- In Base datetime, choose Use Now or Today and pick Now or Today, or choose Enter datetime and enter a datetime (
YYYY-MM-DD HH:MM:SS) or a data reference from a previous Date form field. - In Calculation type, select Add or Subtract.
- In Time unit, select the unit to add or subtract, such as Day, Week, or Month.
- In Time to adjust, enter the amount, for example
5, or a data reference. For Date, Datetime, or Time units, enter a value in that format to compare with the base datetime. - Select a Timezone. This applies to the base datetime and to datetime values in Time to adjust.
- Optionally select an Output format. You can also format a date data reference later.
- Optionally expand Advanced excluding configuration to skip weekends, holidays for a country, or custom days (
YYYY-MM-DD,YYYY-MM-DD). - To reuse the result in later steps, add Calculated Date in Response data for use in later steps. See Variables in workflows.
- Save your changes.
To skip Saturday and Sunday, expand Advanced excluding configuration and turn on Exclude weekends.
Calculate a date with a custom integration
Use a custom integration when you need to calculate more than one date in a single step.-
Open your workflow and create a form step with the two form fields. Click + Add form field and create the following:
- Date: The date when you want to apply the calculation.
- Short text: The number of days to add or subtract when running your workflow.
To subtract days, enter a negative number such as -5. For adding days, type the number. - Create an integration step after the form step.
- Click Settings to configure the step. Enter the following details:
- Method: POST
- URL:
https://integrations.nextmatter.com/g/utils/calculatedate - Headers: Content-Type: application/json
- Body might look like the following:
Single date example
Single date example
Batch of single dates example
Batch of single dates example
Your batch might look like the following:
-
In the Results to be used in later steps, click Add variable.
You need to create a variable for every date set so that the resulting date can be referenced in later steps.
- For one date set, add the
calculatedDatevariable with the value of$.date - For multiple sets, your variables might be the following:
- For one date set, add the

