Create Intercom Feed
User Intent
"How do I sync Intercom conversations? Show me Intercom feed configuration."
Operation
SDK Method: createFeed() with FeedTypes.Intercom
Auth: API token
Code Example (TypeScript)
import { Graphlit } from 'graphlit-client';
import { FeedTypes, FeedServiceTypes } from 'graphlit-client/dist/generated/graphql-types';
const graphlit = new Graphlit();
const feed = await graphlit.createFeed({
name: 'Customer Support',
type: FeedTypes.Intercom,
intercom: {
type: FeedServiceTypes.IntercomTickets,
token: process.env.INTERCOM_TOKEN!,
readLimit: 100,
},
// Optional: add workflow for content processing
// workflow: { id: workflow.createWorkflow.id }
});
console.log(`Intercom feed created: ${feed.createFeed.id}`);Configuration
readLimit: Max conversations includeResolved: Include closed tickets assignee: Filter by assigned user
Last updated
Was this helpful?