Gorgias connection options
The following are connection options for Gorgias:
ENTITY_NAME– (Required) Used for Read. The name of the Gorgias object to read.SELECTED_FIELDS– Default: empty (SELECT *). Used for Read. The columns you want to select for the object.FILTER_PREDICATE– Default: empty. Used for Read. A filter predicate that AWS Glue pushes down to Gorgias for the fields listed in the filtering support table below. Supply it as a AWS GlueFILTER_PREDICATEoption (for example, from a SparkDataFramefilter).
Gorgias supports server-side (pushed-down) filtering on the following entities, with the operators shown, through FILTER_PREDICATE:
| Entity | Filterable fields | Supported operators |
|---|---|---|
| customers | external_id | equals only |
| events | created_datetime | greater than, greater than or equal to, less than, and less than or equal to |
| satisfaction-surveys | ticket_id | equals only |
| ticket-messages | ticket_id | equals only |
| tickets | customer_id | equals only |
| users | email | equals only |
AWS Glue applies filters on any other Gorgias entity after it reads records, through the Spark DataFrame filters.