Basic connection
Connection is a link between Make and 3rd party service/app.
Last updated
Connection is a link between Make and 3rd party service/app.
Last updated
Basic type of connection is a group of connections, which can use:
API Key,
Basic Auth (a pair of username and password base64
encoded),
Digest Auth (a pair of credentials md5
hashed).
Basic Connection can also be used, when API doesn't support OAuth 1/2.
aws
directive is not available
Only a single request can be performed
pagination
directive is not available
response.limit
is not available
response.iterate
directive is not available
response.output
is not available
response
is extended with data
, uid
and metadata
The data
directive saves data to the connection so that it can be later accessed from a module through the connection
variable. It functions similarly to the temp
directive, except that data
is persisted in the connection.
Example:
This accessToken
can be later accessed in any module that uses this connection like so:
The metadata
directive allows you to save the user’s name or username (or any other text field) so that multiple connections of the same type could be easily recognized. A common practice is to save either username or email or full name to metadata.
The metadata object has 2 properties: value
and type
. value
is used to store the value and type
is used to specify what the value is. Currently, there are only 2 types: email
and text
.
Example:
This directive allows you to save the user’s remote service Id. This is required when using Shared Webhooks.
Example:
Parameters that the user should fill while creating a new connection.
Non-user-specific sensitive values like salts or secrets.
These IML variables are available for you to use everywhere in this module:
now
- Current date and time.
environment
- TBD
temp
- Contains custom variables created via temp
directive.
parameters
- Contains the connection’s input parameters.
common
- Contains connection’s common data collection.
data
- Contains connection's data collection.
oauth.scope
- Contains an array of scope required to be passed to OAuth 2.0 authorization process.
oauth.redirectUri
- Contains redirect URL for OAuth 2.0 authorization process.
Here you can see an example of API key-based connection.