Creating connections and adaptors

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.

journey-add-new-connection.png

journey-add-new-connection-dialog.png

Set the end point for the web service to the following value: https://httpbin.org/

journey-connection-editing.png

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:

  1. In the Method list, click one of the following values:
    • GET
    • POST
    • PUT
    • DELETE
  2. Extend the URL with any resource names, query parameters, or Acquia Journey parameters. Acquia Journey parameters are specified as %%paramName%%.
  3. Set the output destination.
  4. Update the call and identify new parameters by clicking Save Request & Headers / Update Parameters.

journey-web-service-adaptor-options.png

After Acquia Journey validates the adaptor, it can be used in a graph.

Contact supportStill need assistance? Contact Acquia Support