Information for: DEVELOPERS   PARTNERS

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. For more information about adaptors, see Acquia Journey adaptors.

A single connection definition can create a large number of adaptors. Project administrators can only create connections. For more information about roles, see About Acquia Journey roles.

The following example demonstrates making different web service calls to httpbin, a website providing open access for testing different 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 ensure you select the REST Web Service connection type.

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

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
    • PATCH
    • DELETE
  2. Extend the URL with any resource names, query parameters, or Acquia Journey parameters. Acquia Journey parameters are specified as %%paramName%%.
  3. Configure the output destination.
  4. Update the call and identify new parameters by clicking Save Edits.

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