Skip to main content
Interpolation replaces placeholders with actual values at runtime, enabling integrations that adapt to different contexts, time periods, and data.

When to use

Use interpolation when you need to:
  • Insert parameter values into API URLs or paths
  • Add dynamic dates to requests (today, yesterday, last week)
  • Reference dates from extraction datapoints
  • Generate file names with timestamps
  • Build parameterized query strings

Simple Variables

Replace placeholders with values from your integration’s parameters. The variable name must match exactly.

Using datapoints with simple variables

To interpolate a datapoint value, add a query param with the datapoint field name. The param name becomes available as a variable.

DateTime Interpolation

Insert current dates, calculate relative dates, and format output for API requirements. DateTime interpolation supports three prefixes:

Format Patterns

Use .format(pattern) to control output. Patterns follow dayjs format tokens.

Timezone Conversion

Use .timezone(tz) to convert to a specific timezone before formatting. The default timezone is America/Sao_Paulo.

Date Arithmetic

Add or subtract time using .add(amount, unit) and .subtract(amount, unit). Available units: days, weeks, months, years, hours, minutes, seconds

Using Data Fields

Reference dates from your extraction datapoints with the date() function. Pass the field path as the argument.
This is useful when you need to calculate dates relative to data values rather than the current time.

When a parameter is missing

If a {{ parameter }} referenced in a URL, header, or body has no value at runtime, the request is not sent. It fails with a clear parsing error naming the missing parameter. An empty string counts as missing: sending it would produce a malformed request (e.g. /items//details) that the target API would misroute instead of reject. Parameter names are case-sensitive and must match the data field exactly.