Formula - concat
The concat
formula in Nodinite lets you merge string values from message body, context, or even other formulas. This page provides a clear, step-by-step guide with practical examples, so you can quickly master string concatenation for your integration needs.
✅ Merge content from message body and context with ease
✅ Use nested formulas for advanced scenarios
✅ Enhance search fields and data manipulation in Nodinite
What is the concat formula?
The concat
function combines two or more string values into a single result. You can use static text, message body, context values, or even other formula functions as parameters.
How does it work?
Each example below is structured in three clear steps:
- Input – The data or context you start with
- Formula – The concat expression you use
- Result – The output you get
Examples
Example 1: Concatenate static strings
Input:
No input required (static values only)
Formula:
concat('Formula', 'Plugin')
Result:
FormulaPlugin
Example 2: Concatenate message body with static string
Input:
Message body:
Nod
Formula:
concat(body, 'inite')
Result:
Nodinite
Using body as the first parameter
Example 3: Concatenate body with itself
Input:
Message body:
Nod
Formula:
concat(body, body)
Result:
NodNod
Concatenating body with itself
Example 4: Concatenate static value with context value
Input:
Context key id
:
ination
Formula:
concat('Imag', context('id'))
Result:
Imagination
Concatenating a static value with context
Example 5: Use a formula function as a parameter
Input:
Context key id
:
{ "Id": 2 }
Formula:
concat(jsonpath('Id', context('id')), 'A')
Result:
2A
Using a formula function as the first parameter
Example 6: Advanced nested functions
Input:
Message body:
gmt
Context key id
:
utc
Formula:
concat(touppercase(regex('gmt|utc', body)), touppercase(substring(0, 3, context('id'))))
Result:
GMTUTC
Combining values from both body and context
Context value used in nested formula
Usage Tips
- Use static strings,
body
, orcontext('key')
as parameters - Nest other formula functions for advanced scenarios
- Only use on small messages—this function loads the entire message into RAM
Next Step
Add or manage Search Fields
Add or manage Log Views