Component is designed to work with ChannelAdvisor platform which implement the OData v4 specification.
No environment variables are required for deployment.
This component interacts with OData version 4.
The technical notes page gives some technical details about ChannelAdvisor component like changelog.
Supports the Developer Console Token type of authorization. Prerequisites are valid developer key and password in addition to the access to login to desired ChannelAdvisor accounts with permission to grant API access.
Get objects which have recently been modified or created.
All types of objects programmatically detectable are covered. When selecting this trigger, the first input that must be configured is Object type to fetch. This drop-down when opened will produce a list of all object types on the system.
This trigger relies on the service implementing OData’s delta links. Not all services support this.
isNew
,createdOn
and modifiedOn
not included in output.{"deltaLink": "string delta link"}
Given a field and a field value that matches exactly one record, find that matching record.
There are three configuration drop-downs:
Object Type to Lookup: All types of objects programmatically detectable are covered. This drop down when opened will produce a list of all object types on the system.
Name of Field to Match: Select a field to compare against. Currently, this will return a list of all fields on the object selected in the Object Type to Lookup
drop-down.
Allow Empty Criteria: Should the lookup operation be skipped (i.e. this component becomes a No-op which emits the empty message) if all criteria are empty?
{
"version": 1,
"fieldName": "Value selected from Name of Field to Match",
"objectType": "Value selected from Object Type to Lookup",
"operationType": "lookupObject",
"wrapFieldInQuotes": true
}
IF empty field value AND allowEmptyCriteria THEN
emit empty object
ELSE
CONST results = Fetch objects with value for field
IF results.length !== 1 THEN
Throw exception
emit result
Update an existing entry with the id provided. Otherwise create a new entry.
All types of objects programmatically detectable are covered. When selecting this trigger, the first input that must be configured is Object type to fetch. This drop-down when opened will produce a list of all object types on the system.
isNew
flag to show update vs create(Primary Key)
{
"version": 1,
"objectType": "Value selected from Object Type to Lookup",
"operationType": "upsert",
"wrapFieldInQuotes": false
}
IF there is not a value for any key THEN
make POST request to create object
ELSE IF there is a value for every key THEN
make PATCH request to update object
ELSE
throw error
END