Icon

06_SugarCRM_meets_Salesforce

SugarCRM meets Salesforce

This workflow blends data from two popular Customer Relationship Management (CRM) tools: SugarCRM and Salesforce. This is done by using the REST APIs of these services.

SurgarCRM and Salesforce both use OAuth 2.0 for authentification. This authentification method requires two steps:
1) Pass API credentials via POST Request to get Access Token
2) Use Access Token in GET Request to query API.

Note: This workflow requires the Palladian Nodes for KNIME. This extension can be installed from the KNIME Trusted Community Extensions.

Annotations and comments
  • Execute this workflow to blend data from SugarCSM and Salesforce. In order to access the REST API, please provide your credentials in the parameter input components.
  • SugarCRM Enter username and password - Client Secret can be left blank - Client ID is sugar
  • Access token is used as flow variable in request header. Query parameters are added to URL string
  • Process results and prepare for blending
  • Salesforce API credentials needed to create HTTP request body: - Username - Password - Client ID - Client Secret
  • Access token is used as flow variable in request header. SQL query is appended to URL string
  • Blend SugarCRM and Salesforce
  • Add source identifier for SugarCRM
  • Add source identifier for Salesforce
  • GET Opportunities
  • GET Accounts
  • Parse JSON result for account fields
  • Parse JSON result for opportunity fields
  • Parse result
  • Join account data to opportunity data
  • POST to get access_token for Salesforce
  • POST to get access_token for SugarCRM
  • grant_type
  • username
  • password
  • client_id
  • client_secret
  • URL
  • Encode URL
  • Get opportunity_id from url
  • Select relevant columns
  • account_id
  • JSON Path returns list columns. Ungroup to get one row per item
  • opportunity_id
  • Authorization: Bearer <access_token>
  • Pass token as flow variable

Nodes

Extensions

Links