Back to Docs
Integrations10 min read

Connectors

Connect your favorite tools and data sources. Gravitre supports 50+ integrations with more added regularly.

Available Connectors

Gravitre connects to popular business tools:

**CRM**: Salesforce, HubSpot, Pipedrive **Communication**: Slack, Microsoft Teams, Email **Productivity**: Asana, Jira, Notion, Airtable **Data**: PostgreSQL, MySQL, Snowflake, BigQuery **Marketing**: Mailchimp, Sendgrid, Marketo **Custom**: REST API, GraphQL, Webhooks

Adding a Connector

Navigate to Connectors > Add Connector. Select the integration you want to connect. Most connectors use OAuth for authentication - you'll be redirected to authorize Gravitre to access your account.

Connector Actions

Each connector supports specific actions:

- **Query**: Fetch data from the source - **Create**: Add new records - **Update**: Modify existing records - **Delete**: Remove records - **Custom**: Execute custom operations

// Salesforce connector example
{
  "connector": "salesforce",
  "action": "query",
  "config": {
    "query": "SELECT Id, Name, Email FROM Contact WHERE LastModifiedDate > YESTERDAY"
  }
}

// Slack connector example
{
  "connector": "slack",
  "action": "send_message",
  "config": {
    "channel": "#sales-alerts",
    "message": "New lead: {{lead.name}} from {{lead.company}}"
  }
}

Sync Modes

Connectors support different sync modes:

- **Full Sync**: Fetch all data each time - **Incremental Sync**: Only fetch new or modified data - **Real-time**: Stream changes as they happen

Custom Connectors

Build custom connectors for any REST or GraphQL API using our connector SDK. Define authentication, available actions, and data schemas.

// Custom connector definition
const myConnector = {
  name: "My Custom API",
  auth: {
    type: "api_key",
    header: "X-API-Key"
  },
  actions: {
    getUsers: {
      method: "GET",
      path: "/api/users",
      response: {
        type: "array",
        items: { type: "object" }
      }
    }
  }
};

Need more help?

Can't find what you're looking for? Our team is here to help.