The Concat function joins (concatenates) multiple values into a single character sequence (string):
This function is widely used to create texts by combining literal variables or values from other operations.
In Sensedia Integrations, the Concat function is available for:
Example 1
Consider an integration with a step that generates a sales report. The goal is to create a message with the total units sold in 2023. For example:
To create the message, we will use:
$.Sales.Response.Payload.totalSales."_In_", "_total sales of_", "_units_"" " (blank space)"," (including comma as text).Thus, we have the Concat function:
Example 2
Consider an integration that contains a SQL database connector:
IMPORTANTTo assemble SQL database instructions, you must use SQL syntax.
The SQL statement below selects all columns from a table only for the record where the id field value matches the id field value provided in the specified payload.
See the step-by-step of the instruction:
"SELECT * FROM clients WHERE id = ": instructs the database to:
SELECT)*)FROM)clients tableWHERE)id column matches a specific value indicated after the equals sign (id =).$.clientRegistration.Response.Payload.id: value that will be filtered by the instruction, extracted from the id field in the response payload of the clientRegistration connector.Now, the value of the id field will be a fixed value equal to 155.
This means that the instruction will return all columns from the clients table for the record whose id is 155.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more