Skip to main content

CRM Block

CRM Block

Contacts and relationships

The CRM Block provides customer relationship management capabilities. Manage contacts, track interactions, and build meaningful relationships with your users and customers.

Features

  • Contact management
  • Interaction tracking
  • Relationship mapping
  • Custom fields
  • Tags and segmentation
  • Activity timeline
  • Notes and comments

Quick Start

npm install @23blocks/sdk
import { BlocksClient } from '@23blocks/sdk';

const client = new BlocksClient({
baseUrl: 'https://api.23blocks.com',
appId: 'your-app-id'
});

// Create a contact
const contact = await client.crm.createContact({
firstName: 'John',
lastName: 'Doe',
email: 'john@example.com',
tags: ['lead', 'enterprise']
});

// Log an interaction
await client.crm.logInteraction({
contactId: contact.id,
type: 'call',
notes: 'Discussed product features'
});