by Fanatical Labs

Save Your Team Countless Hours. SugarChimp syncs your lists in both directions so you can work in your preferred app. Segment and group your Mailchimp subscribers based on Sugar data so you can market to the right people at the right time. Compatible with all versions and editions of Sugar and SuiteCRM. Created by Fanatical Labs, 2023 SugarCRM Partner Award Winner.

Free 30 day trial
Try it Now

By clicking you consent to share your profile with the developer

#3886 - Communication between mailchimp and sugarchimp

Closed General Question created by webdev1 6 years ago

Hello guys, We use sugarchimp ultimate version on Sugar 7.9.4.0 version. In order to sync information from MailChimp, we have to expose our production URL as a webhook in Mailchimp publicly which we don't do currently as we use it for internal purposes only. We would like to know the type of request (like POST) made by MailChimp to the URL provided by sugarchimp so that we check the header for API key or something unique and allow the request to be made.

Thanks, Ram

  1. fanaticallabs member avatar

    Fanatical Labs Provider Affiliate

    6 years ago

    Hello there,

    I've created a sample webhook from MailChimp to show you everything I can. The webhook comes as a POST request, with these headers: { "content-length": "1262", "user-agent": "MailChimp.com", "accept": "/", "content-type": "application/x-www-form-urlencoded" }

    The request body will include 'type' and 'data' which we validate before running any code on our end.

    I hope that gets you going in the right direction. We have many clients that use a proxy as well if you would like to look into that.

    Let me know.

    Thanks, Jon

  2. webdev1 member avatar

    webdev1

    6 years ago

    Hi there,

    Thanks for your reply. Do you have any setting for nginx proxy?

    Thanks, Ram

  3. fanaticallabs member avatar

    Fanatical Labs Provider Affiliate

    6 years ago

    Hello Ram,

    If you are setting up your nginx reverse proxy according to this guide: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

    Then we should be able to get information passed along correctly without any setting updates on our end. We just need to be sure data is passed along from the webhook to proxy server, to the internal crm server.

    We have a config option for outbound proxies as well. Let me know if you need more information on that.

    Thanks, Jon

  4. webdev1 member avatar

    webdev1

    6 years ago

    Hello there,

    This email is in response to Case#1873: Communication between mailchimp and sugarchimp

    We haven't heard from you regarding the issue in a few days. To help jog your memory, here is the last comment on the ticket:

    ---

    Jon Sheppard, Oct 8, 13:57 COT

    Hello Ram,

    If you are setting up your nginx reverse proxy according to this guide: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

    Then we should be able to get information passed along correctly without any setting updates on our end. We just need to be sure data is passed along from the webhook to proxy server, to the internal crm server.

    We have a config option for outbound proxies as well. Let me know if you need more information on that.

    Thanks,

    Jon

    Let me know how I can help.

    Thanks, Jon Fanatical Labs Support

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "We have used SugarChimp for the past two years and it's a really simple, straightforward email solution. I love that it segments email campaigns base..." - tlemotte

    Read More Reviews