Graphcool / graphcool-framework

Apache License 2.0
1.77k stars 130 forks source link

Customer support integration #37

Open marktani opened 6 years ago

marktani commented 6 years ago

Issue by sedubois Friday Mar 03, 2017 at 10:01 GMT Originally opened as https://github.com/graphcool/prisma/issues/123


If there's any workaround to make this integration possible meanwhile, would be great to know too.

EDIT: could be something else than Intercom, because their pricing is so prohibitive.

marktani commented 6 years ago

Comment by sorenbs Friday Mar 03, 2017 at 14:48 GMT


@sedubois Would adding a mutation callback to the user model that syncs the user to Intercom be enough?

Alternatively it would be great if you could specify in more detail what the integration should do.

Regarding custom events - I imagine many interesting events would be triggered on the frontend and never actually hit the Graphcool backend. Do you agree?

marktani commented 6 years ago

Comment by marktani Friday Mar 03, 2017 at 14:55 GMT


Maybe you can also use existing integrations like Intercom with Zapier.

marktani commented 6 years ago

Comment by sedubois Friday Mar 03, 2017 at 14:55 GMT


@sorenbs that would be a start yes 🙂 The minimum is to be able to see all the Graphcool users within Intercom (name, email, connection time, etc), paying attention that Intercom can do its work of auto-detecting the user device, location, etc (as it does properly in my current intercom-rails integration).

Yes maybe about events, there could be a separate forwarding directly from the client, but would certainly be useful from backend side too (e.g "user bought X", "user friended Y", etc).

marktani commented 6 years ago

Comment by sorenbs Friday Mar 03, 2017 at 15:09 GMT


@sedubois Makes sense - thanks!

In your rails integration I assume the user device detection is handled by the clientside intercom api?

marktani commented 6 years ago

Comment by sedubois Friday Mar 03, 2017 at 15:13 GMT


@sorenbs I guess yes but I didn't investigate the inner workings: https://github.com/intercom/intercom-rails

(BTW I also have intercom hooked in iOS and Android, where these detections also work properly.)

But I think they know something about customer support so can ask them 😉

marktani commented 6 years ago

Comment by sedubois Friday Apr 21, 2017 at 10:21 GMT


As you point out in your freecom tutorial series, Intercom is super expensive so would be great to support some alternative if possible. Do you have some to suggest?

marktani commented 6 years ago

Comment by heymartinadams Saturday Apr 22, 2017 at 01:27 GMT


In case of interest, @sedubois I created a Customer Support feature (from inside the app) and integrated it via Mutation Callback → Zapier email for free. https://www.LifePurposeApp.com

marktani commented 6 years ago

Comment by marktani Sunday Sep 17, 2017 at 16:18 GMT


This should be pretty straight-forward to build with Graphcool Functions, would love to see some input about this here: https://www.graph.cool/forum/t/feedback-schema-extensions-beta/405.

marktani commented 6 years ago

Comment by heymartinadams Sunday Sep 17, 2017 at 16:52 GMT


Actually, @sedubois, I ended up integrating Intercom. Found it helpful at significantly increasing conversion rates, plus easy in-app customer support. They have early-stage pricing, which I signed up for: https://www.intercom.com/early-stage

@sedubois and @marktani: just added an Intercom example to the functions: https://github.com/graphcool-examples/functions/pull/80