Giter VIP home page Giter VIP logo

salesforce-etl-mysql's Introduction

Salesforce ETL MySQL

This sample application shows a simple way to use a Node.js app along with Workflow on Salesforce to do Extract, Transform, and Load (ETL) from Salesforce to MySQL.

Run on Heroku

  1. Deploy the app: Deploy

Run Locally

  1. Create a local MySQL database named demo

  2. Install the Node.js dependencies:

     npm install
    
  3. Run the local dev server:

     npm run dev
    
  4. Start an ngrok tunnel:

     ngrok http 5000
    

Setup a Salesforce Workflow & Outbound Message

  1. Create a new Workflow
  2. Select the Contact object
  3. Give the rule a name
  4. Select created, and every time it's edited
  5. In the Rule Critera select forumla evaluates to true and enter True in the formula field
  6. In Immediate Workflow Actions select New Outbound Message
  7. Give the Outbound Message a name, enter the Endpoint URL for either your Heroku app (e.g. https://foo.herokuapp.com/) or your ngrok endpoint for local testing (e.g. https://1234.ngrok.io/)
  8. Select the Email, FirstName, and LastName fields

salesforce-etl-mysql's People

Contributors

jamesward avatar

Stargazers

Andy avatar Lukasz Hanusik avatar Chloe Xue avatar Ganeshan Venkataraman avatar John Hook avatar Juan P. Rodriguez avatar  avatar Joe Devon avatar Corey avatar Mike Sanders avatar Devon Guerrero avatar William Hawkins avatar  avatar Aaron Glazer avatar Kason Chan avatar Doug avatar Ma Csi avatar Cidar (Cid) Mendizabal avatar  avatar Gary Ferguson avatar

Watchers

 avatar Joe Devon avatar James Cloos avatar Doug avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.