Actions
Make Raw Request
Executes a custom request.
Configuration Fields
- Do not throw an error on a 404 Response
-
An optional boolean. Treats 404 Hypertext Transfer Protocol (HTTP) responses as non-errors. The default value is
false
.
Lookup Object By Identifier
Looks up a single object by its identifier.
Configuration Fields
- Object Type
-
A required string. The object type to look up. For example, Users.
- Allow criteria to be omitted
-
An optional boolean. If selected, the Identifier Value field becomes optional.
- Allow zero results
-
An optional boolean. When selected, if the object is not found, an empty object is returned. If not selected, and the object is not found, an error is thrown.
Lookup Objects (plural)
Looks up a set of objects by a defined criteria list. It can be emitted in different ways.
Configuration Fields
- Object Type
-
A required drop-down. The object type to look up. For example, Users.
- Emit Behavior
-
A required drop-down. Defines the way result objects will be emitted. The valid values are:
Emit all
,Emit page
, orEmit individually
.
Input Metadata
- Search Criteria
-
A required array of strings. The search terms are to be combined with the AND operator. For example:
[{ fieldName: 'createdon', operator: 'gt', fieldValue: '2022-08-28T14:27:45Z'}, { fieldName: 'name', operator: 'eq', fieldValue: '"Alex"'}]
If Emit Behavior is set to Emit page, the following additional fields are added:
- Page Number
-
A number. Indicates the index of the page to be fetched. The default value is 0.
- Page Size
-
A number. Indicates the amount of objects per page. The value must be between 1 and 100 (inclusive). The default value is 100.
If Emit Behavior is set to Emit all, the following additional field will be added:
- Emit only total count of results matching search criteria
-
A boolean. If
true
, onlytotalCountOfMatchingResults
with the total amount of objects found by the search criteria will be emitted. The default value isfalse
.
Output Metadata
For Emit All and Emit Page modes: An object with the key results that has an array as its value.
For Emit Individually mode: Each object fills the entire message.
If Emit only total count of results matching search criteria is set to true
for Emit All mode: Only totalCountOfMatchingResults
, with the total amount of objects found by the search criteria, is emitted.
Upsert Object
Updates or creates an object.
Configuration Fields
- Object Type
-
A required drop-down. The object type to upsert. For example, Users.
- Create or update existing object
-
A required drop-down. The valid options are
Create new
orUpdate existing
. - Make GET request after object created/updated
-
An optional checkbox. Makes a GET request after the object is created/updated. If
false
, only the object identifier is emitted.
Output Metadata
If Make GET request after object created/updated is true
: Dynamically generated fields according to the chosen Upsert Schema.
If Make GET request after object created/updated is false
: Only the object identifier is emitted.
- Identifier
-
An optional string. The identifier of the upserted object.