Create Azure Storage Feed
User Intent
"How do I sync files from Azure Blob Storage? Show me Azure Storage feed configuration."
Operation
SDK Method: createFeed() with FeedTypes.Site
Feed Service: Azure Blob Storage
Auth: Connection string or SAS 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: 'Azure Documents',
  type: FeedTypes.Site,
  site: {
    type: FeedServiceTypes.AzureBlob,
    azureBlob: {
      accountName: 'mystorageaccount',
      containerName: 'documents',
      prefix: 'reports/',
      storageAccessKey: process.env.AZURE_STORAGE_KEY!,
    },
  },
  // Optional: add workflow for content processing
  // workflow: { id: workflow.createWorkflow.id }
});
console.log(`Created Azure feed: ${feed.createFeed.id}`);Configuration
containerName: Blob container name prefix: Folder path connectionString: Azure Storage connection string
Last updated
Was this helpful?
