Skip to content
Snippets Groups Projects
user avatar
Robert Speicher authored
Add a basic `/` route; move old `/` route to `/system_hook`

See merge request !2
ee0cd2c9
History

marketo-tools

This is a simple Sinatra application that receives several web hooks and forwards the relevant information to Marketo via its REST API.

Handlers

License for Free Trial

"Free Trial" -> Recurly -> webhooks.io -> marketo-tools -> Marketo

TODO (rspeicher): Explain purpose.

Relevant issues:

Newsletter

GitLab.com Sign-Up -> System Hook -> marketo-tools -> Marketo

Receives the user_create system hook from GitLab.com and creates or updates a lead in Marketo.

This replaces our internal mailchimp-tools project.

Relevant issues:

Recurly

"Buy Now" -> Recurly -> webhooks.io -> marketo-tools -> Marketo

Receives a Recurly hook (via webhooks.io splitter) and forwards information to Marketo.

TODO (rspeicher): Expand on information forwarded.

Relevant issues:

Development

  1. Edit the .env file to view or change the HTTP Basic Auth credentials and to add the Marketo API keys.

  2. Start the server:

    bundle install
    bundle exec rackup -p 4567

Deployment

This project stores HTTP Basic Auth credentials and Marketo API keys in the environment variables, using Dotenv. The default values should be overridden in a .env.production file for deployment.

License

Copyright © 2015 GitLab, Inc. It is free software, and may be redistributed under terms specified in the LICENSE file.