Load Magento Store details to Alibaba OSS in webMethods.io Integration Flowservice

Summary

This article describes the step-by-step process of creating the Integration for loading Magento Store details to Alibaba Object Storage Service using the Magento and Alibaba OSS Connectors in webMethods.io Integration.

Pre-requisites

  • The user needs to have an active Magento E-commerce and Alibaba OSS account.

  • Active webMethods.io Integration cloud tenant.

Contents

  • Section 1: Configure Magento E-commerce and Alibaba OSS accounts in webMethods.io Integration
  • Section 2: Creating the integration for uploading store details to Alibaba OSS.

Steps

Section 1: Configure Magento E-commerce and Alibaba OSS accounts in webMethods.io Integration

  1. Login to webMethods.io Integration tenant

  2. Create a new project or choose an existing project if required.

  3. Switch to Connectors tab.

  4. Search and select Magento E-commerce platform connector.

  5. Select Custom OAuth Type and proceed to next page.

  6. Fill in Server URL, Consumer ID, Consumer Secret, Access Token and Access Token Secret and create the account.

  7. To create account for Alibaba OSS connector, search and select Alibaba OSS.

  8. Fill in Server URL, Access Key and Access Key Secret and create the account.

Section 2: Creating the integration for uploading store details to Alibaba OSS.

  1. Switch to FlowServices Tab and create new Flow Service.

  2. Search and select Magento eCommerce platform connector.

  3. Click on Actions dropdown and click Add custom operation at the end.

  4. a. Select Magento eCommerce platform account created in previous section.
    b. Fill in name of custom operation.
    c. Select Store functional area.

  5. Select List resource and click Next.

  6. Select Websites and click Next.

  7. Select the fields and proceed to next page.

  8. Review the details and click Done.

  9. To convert the response from previous step to JSON stream, Click on add new step in Flow Service pane.
    Search and select DocumentToJSONStream service.


  10. Click on Edit Mapping option for DocumentToJSONStream service and map response from the previous action to Document field.

  11. To upload the JSON stream data to Alibaba OSS, add a new step in Flow Service. Search and select Alibaba OSS connector.

  12. Select UplaodObject operation from Actions list. Select the pre-configured Alibaba OSS account and click on Edit Mapping.


  13. Set value for Key (filename) and BucketName fields and map JSON stream from previous action response to input stream.

Integration is ready, you can load the Store related details to Alibaba OSS as JSON in three simple steps.

1 Like