App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Using IBM App Connect to interact with Magento 

Thu July 23, 2020 11:10 AM

You can now use IBM App Connect to transfer data to and from Magento.

About Magento

Magento is an open source eCommerce platform that integrates online and physical shopping experiences. A highly customizable platform is one of Magento’s key features.

Using Magento in App Connect

To use Magento with App Connect, you’ll need to connect to your Magento account.

How do I connect?

  1. In App Connect, click Catalog, then, on the Applications tab, click Magento.
  2. Click Connect, then enter the required connection details for your Magento account. Populate the following fields as appropriate. (Fields marked with an asterisk (*) are mandatory.)
    • Store URL: The Magento store URL
    • User name: The user name for your Magento account
    • Password: The password for your Magento account
    • Network name: The name of the network that App Connect will use to access your system.
      The Network name field is required only if you are connecting to a Magento system in a private network. For more information, see Configuring a private network for App Connect. If you are connecting to a cloud-based instance of Magento, you need to provide the store URL, user name, and password only.
  3. Click Connect again to connect to your Magento account.

A typical business scenario

As an example, considering this scenario. Whenever a new customer order is created in Magento, you want to update the order details in an enterprise resource planning (ERP) system, then send the order confirmation number by email.

For this scenario let’s create an event-driven flow that processes a new sales order through Magento, updates the order details in an ERP system, and then sends the order confirmation number by email. Let’s assume that we’re already connected to Magento and have an email account configured.

    1. Add Magento as the first application and select Sales orders > New sales order as the triggering event.
    2. Add Salesforce as the next application and select Orders > Create order as the action. Click Insert a reference
      to populate the following fields with data from Magento:

      Salesforce field

      Magento field

      Order Start Date

      Created at

      Billing City

      City

      Billing State/Province

      State

      Billing Zip/Postal Code

      Postcode

      Shipping State/Province

      State

      Order Reference Number

      Order ID

      Make sure that you complete any other mandatory fields.

    3. Add Gmail as the next application and select Messages > Create email as the action. Populate the following fields as appropriate (fields marked with an asterisk (*) are mandatory). You can populate the fields by clicking Insert a reference
      or Insert a function

Field

Description

To

Specify the email address to which you want to send the confirmation.

Subject

Specify the subject for the email.

Body

Enter any text that you would like to include in the email, including Customer first name and Order ID references.



Here’s an example of the completed flow:

4. To start the flow, click Menu > Start flow in the upper-right corner of the page.
5. To test the flow, create a sales order in your Magento account, then check that the order is created in your Salesforce account, and that you receive the acknowledgment email in your Gmail account.


Statistics
0 Favorited
19 Views
0 Files
0 Shares
0 Downloads
Global message icon