Acquia Journey uses Connections to connect to systems and services outside of the Acquia Journey system. Connections include databases, web services, social media platforms, message queues and email systems. An adaptor is a particular method on a connection. For example, a web service connection may have a
GET adaptor and a
POST adaptor, each with different query parameters and input and output data.
A single connection definition can be used to create many adaptors. Connections can only be created by project administrators. Read more About Acquia Journey roles.
In this example, we will demonstrate making different web service calls to httpbin, a website that provides open access for testing many kinds of web service calls you may want to use in your customer journey.
Creating a web service connection
Create a new connection for your project, and be sure to select the REST Web Service connection type.
Set the end point for the web service to the following value:
After you save the connector, it is ready to use in a graph.
Creating a web service GET adaptor
Create a new web service adaptor by choosing REST Web Service from the Adaptors section, then use the following actions to configure the adaptor:
- In the Method list, click one of the following values:
- Extend the URL with any resource names, query parameters, or Acquia Journey parameters. Acquia Journey parameters are specified as
- Set the output destination.
- Update the call and identify new parameters by clicking Save Request & Headers / Update Parameters.
After Acquia Journey validates the adaptor, it can be used in a graph.