Working with parameters
Last updated
Last updated
Parameters can be defined throughout the connector builder, in:
When a runs, any associated API requests are injected with given variable values wherever a corresponding {{key}}
is found - this is Irrespective of where parameters are defined
Depending on where you are in the connector builder, you will encounter both and parameters, where:
parameters are always applied to API requests, whenever it is used.
parameters are those that users can choose to apply with their own values - either when adding connector instances (in the case of parameters defined for ) or as filter parameters when configuring for .
Irrespective of where parameters are defined, any associated API requests are injected with given default and optional parameter values wherever a corresponding {{key}}
is found.
Default parameters are those which must always be passed into the request URL, header, or body using values that you specify as part of the configuration. They are added as key pairs:
Defined values can be static or dynamic. Default parameters are passed straight into requests - users are never asked to provide values for these.
When you choose to add an optional parameter, you're prompted to complete the fields as below:
Use the following table as a guide for completing these fields:
Field
Enter a valid parameter field from the API documentation associated with the third-party application that you're building.
Select an operator
Operators determine how matching should be performed on the value given for this field (for example: contains
, equal to
, greater than or equal to
, etc.).
Select a type
Value
Having added a parameter, you can simply click its name to access details in edit mode - for example:
From here, you can edit key and value fields, or choose the delete this entry - for example:
In some places, you can only add , but in others you can add both types. In this case, the variables page is split into two panels - for example:
parameters are defined in the top panel, with parameters in the lower panel. The sections below explain the use of these parameters in general terms - for specific guidance in a particular context, please use the links provided .
There is one scenario where a user can influence the value of a default parameter. This is where you define a default parameter value as an endpoint {{variable}}. For an example scenario please see our section.
Optional parameters are those that you want to expose to your users in , and then pass values that they provide into your API requests (via the URL, header, or body).
Any optional parameters that you define are displayed as filter parameters for a when a user selects the associated instance/endpoint. Essentially, you are defining filter options for users to apply in process flows. For example:
Choose the type of field that users will be prompted to update when they set this parameter in process flows. Available options are string
, number
, specific date
, and dynamic date
. For examples of these types, please see the section below.
Available value fields depend on your type selection above. For examples, please see the section below.
As noted above, the parameter type selected determines the user experience of updating this parameter (via ) in . Below is an example of each parameter type, so you can see the resulting behaviour in a process flow.