Publish Shopify Orders to a GCP Topic Using the GCP Pub Sub Adapter

You can publish Shopify Orders data to a GCP topic using the GCP Pub Sub Adapter. Similarly, you can publish data from other applications to a GCP topic using the GCP Pub Sub Adapter.

In this scenario, the Shopify Adapter serves to retrieve Orders data from the Shopify platform to Oracle Integration. This retrieved data is subsequently transmitted and published as a message to a GCP topic.

This implementation pattern provides an overview of the steps:

  1. Create Shopify Adapter and GCP Pub Sub Adapter connections.
  2. Create a scheduled integration.
  3. Drag the Shopify Adapter into the integration canvas.
  4. Configure the Shopify endpoint as follows:
    1. On the Basic Info page, provide a name.
    2. On the Action page, select the Query operation to retrieve the data.
    3. On the Operations page, select the following values:
      • Orders from the Select Module list
      • Order from the Select Object list
      • Retrieve a list of orders from the Select Operation list
    4. Review your selections on the Summary page.
  5. Drag the GCP Pub Sub Adapter into the integration canvas.
  6. Specify the following details in the Adapter Endpoint Configuration Wizard.
    1. On the Basic info page, provide an endpoint name.
    2. On the Configuration page, select TestTopic from the Select Topic list.
    3. Provide the JSON format sample payload.
    4. Review your selections on the Summary page.
  7. In the mapper, map the fields from the source (Shopify Adapter response) to the target (Publish Message Request) to pass the data to the GCP topic. The Shopify response provides an input to the GCP Pub Sub Adapter.

    The Sources, Mapping canvas, and Target sections are shown. The source element Components Schemas Retrieveallorders is mapped to the target element Orderid.

  8. Click Validate.
    The completed integration looks as follows.


    The schedule, map, invoke, map, and invoke elements are shown.

  9. Add the tracking element in the Business identifier field and save the flow.
  10. When complete, activate the integration.
    As a result, the GCP Pub Sub Adapter publishes the data to a GCP topic if the data is in the expected format.