• Docs
  • Pricing
  • Support
  • Blog
  • Login

›Subscriptions

Intro

  • What's OneGraph?
  • How does it work?
  • Creating your first app
  • Making your first query
  • OneGraphiQL
  • Authentication & Security Overview
  • Custom Google Auth

On the frontend

  • Using with Apollo
  • Log in to services
  • Example with create-react-app

External Authentication

  • What are JWTs?
  • AuthGuardian
  • Securing your Apollo server
  • Securing your Hasura API
  • Securing your Netlify site
  • Securing your express.js app
  • Advanced JWT customization with webhooks

Subscriptions

  • Subscriptions
  • Webhook-based subscriptions
  • Websocket-based subscriptions
  • Salesforce subscriptions
  • GitHub subscriptions
  • Gmail Subscriptions

Advanced

  • Persisted Queries
  • Mailchimp Signup with Persisted Queries

Salesforce subscriptions

OneGraph offers subscriptions when object in Salesforce is created, updated, deleted, or undeleted.

The following query will send a payload every time an Opportunity is updated:

subscription SalesforceOpportunity {
  salesforce {
    opportunityUpdated {
      opportunity {
        id
        name
        probability
      }
    }
  }
}

In order to use subscriptions with OneGraph, your Salesforce plan must support API access. OneGraph will also install a custom package into your Salesforce instance that will add the required functionality.

Please contact sayhi@onegraph.com to get started.

← Websocket-based subscriptionsGitHub subscriptions →
Links
OneGraph Overview Example projectsOneGraphiQL Explorer
Support
Live chat on Spectrum> TwitterBlog
More
Terms of ServicePrivacy Policy
Copyright © 2021 OneGraph