نوٹس مینجمنٹ
Brevo CRM Notes API آپ کو Tajo پلیٹ فارم کے اندر رابطوں، کمپنیوں اور ڈیلز سے منسلک گاہکوں کے تعاملات، میٹنگ کے خلاصے اور اہم تفصیلات دستاویز کرنے کے قابل بناتی ہے۔
جائزہ
نوٹس مینجمنٹ درج ذیل کے لیے ضروری ہے:
- تعاملات کی تاریخ گاہکوں کی گفتگو اور میٹنگ کے نتائج دستاویز کرنا
- ٹیم کا تعاون اپنی سیلز ٹیم میں اکاؤنٹس کے بارے میں سیاق و سباق شیئر کرنا
- ڈیل کی دستاویز کاری مذاکرات کی تفصیلات اور فیصلے ریکارڈ کرنا
- لائلٹی پروگرام کے نوٹس گاہکوں کی ترجیحات اور پروگرام کے فیڈبیک کو ٹریک کرنا
- تعمیل کے ریکارڈ گاہکوں کے ساتھ رابطوں کے لیے آڈٹ ٹریلز برقرار رکھنا
فوری آغاز
نوٹ بنائیں
POST https://api.brevo.com/v3/crm/notesContent-Type: application/jsonapi-key: YOUR_API_KEY
{ "text": "Met with Acme Corp to discuss enterprise loyalty program upgrade. They're interested in Diamond tier benefits and want to consolidate all 12 locations under a single account. Key decision maker is VP of Operations. Follow up with volume discount proposal by end of week.", "contactIds": [12345], "dealIds": ["deal_abc123def456"], "companyIds": ["comp_123456789"]}جواب
{ "id": "note_001", "text": "Met with Acme Corp to discuss enterprise loyalty program upgrade...", "contactIds": [12345], "dealIds": ["deal_abc123def456"], "companyIds": ["comp_123456789"], "created_at": "2026-01-25T14:30:00Z", "updated_at": "2026-01-25T14:30:00Z"}نوٹس حاصل کریں
تمام نوٹس کی فہرست
GET https://api.brevo.com/v3/crm/notes?limit=50&offset=0&sort=descContent-Type: application/jsonapi-key: YOUR_API_KEYجواب
{ "items": [ { "id": "note_001", "text": "Met with Acme Corp to discuss enterprise loyalty program upgrade...", "contactIds": [12345], "dealIds": ["deal_abc123def456"], "companyIds": ["comp_123456789"], "created_at": "2026-01-25T14:30:00Z" } ], "total": 1}نوٹس فلٹر کریں
GET https://api.brevo.com/v3/crm/notes?filters[companyIds]=comp_123456789&sort=created_at:descایک نوٹ حاصل کریں
GET https://api.brevo.com/v3/crm/notes/{note_id}Content-Type: application/jsonapi-key: YOUR_API_KEYخودکار نوٹ سازی
سرگرمی پر مبنی نوٹس
CRM سرگرمیوں سے خودکار طور پر نوٹس بنائیں:
class NoteAutomation { constructor() { this.notesApi = new NotesApi(); }
async logDealStageChange(deal, oldStage, newStage) { const noteText = [ `Deal stage changed: ${oldStage} → ${newStage}`, `Deal value: $${deal.attributes.amount?.toLocaleString()}`, `Probability: ${deal.attributes.probability}%`, newStage === 'Closed Won' ? `Loyalty points awarded: ${deal.attributes.loyalty_points_bonus}` : '', `Updated by: ${deal.attributes.deal_owner}` ].filter(Boolean).join('\n');
return await this.notesApi.createNote({ text: noteText, dealIds: [deal.id], companyIds: deal.attributes.company_id ? [deal.attributes.company_id] : [], contactIds: deal.attributes.contact_id ? [deal.attributes.contact_id] : [] }); }
async logLoyaltyTierChange(company, oldTier, newTier) { const noteText = [ `Loyalty tier upgraded: ${oldTier} → ${newTier}`, `Annual spend: $${company.attributes.annual_spend?.toLocaleString()}`, `New benefits: ${this.getTierBenefits(newTier).join(', ')}`, `Account manager notified: ${company.attributes.account_manager}` ].join('\n');
return await this.notesApi.createNote({ text: noteText, companyIds: [company.id] }); }
async logCustomerFeedback(contactId, feedback) { const noteText = [ `Customer feedback received:`, `Category: ${feedback.category}`, `Rating: ${feedback.rating}/5`, `Comment: ${feedback.comment}`, feedback.loyaltyRelated ? `Loyalty program feedback: ${feedback.loyaltyComment}` : '' ].filter(Boolean).join('\n');
return await this.notesApi.createNote({ text: noteText, contactIds: [contactId] }); }}میٹنگ کے خلاصے کے نوٹس
class MeetingNotes { async createMeetingSummary(meetingData) { const noteText = [ `Meeting: ${meetingData.title}`, `Date: ${new Date(meetingData.date).toLocaleDateString()}`, `Attendees: ${meetingData.attendees.join(', ')}`, '', '## Discussion Points', ...meetingData.topics.map(t => `- ${t}`), '', '## Action Items', ...meetingData.actions.map(a => `- [ ] ${a.description} (${a.assignee}, due ${a.dueDate})`), '', '## Next Steps', meetingData.nextSteps ].join('\n');
return await this.notesApi.createNote({ text: noteText, contactIds: meetingData.contactIds || [], dealIds: meetingData.dealIds || [], companyIds: meetingData.companyIds || [] }); }}API میتھڈز کا حوالہ
// Create a noteconst note = await notesApi.createNote({ text: 'Customer interested in premium loyalty tier', contactIds: [12345], dealIds: ['deal_abc123']});
// Get note by IDconst note = await notesApi.getNote('note_001');
// Update noteawait notesApi.updateNote('note_001', { text: 'Updated: Customer confirmed interest in premium loyalty tier. Meeting scheduled for next week.'});
// Delete noteawait notesApi.deleteNote('note_001');
// List notes with filteringconst notes = await notesApi.getNotes({ filters: { companyIds: 'comp_123456789' }, sort: 'created_at:desc', limit: 50});بہترین طریقے
- مخصوص رہیں: متعلقہ تفصیلات شامل کریں، جیسے رقوم، تاریخیں اور اگلے اقدامات
- ریکارڈز منسلک کریں: نوٹس کو تمام متعلقہ رابطوں، ڈیلز اور کمپنیوں کے ساتھ جوڑیں
- لاگنگ خودکار بنائیں: مرحلے کی تبدیلیوں اور اہم ایونٹس کے لیے خودکار طور پر نوٹس بنائیں
- یکساں فارمیٹ استعمال کریں: میٹنگ کے خلاصوں کے لیے پوری ٹیم میں ایک ہی نوٹ ساخت اپنائیں
- بروقت دستاویز کاری: تعامل کے فوراً بعد نوٹس بنائیں، جب تفصیلات تازہ ہوں
ایرر ہینڈلنگ
try { const note = await notesApi.createNote(noteData); console.log('Note created:', note.id);} catch (error) { if (error.status === 400) { console.error('Invalid note data:', error.message); } else if (error.status === 404) { console.error('Associated contact, deal, or company not found'); } else { console.error('Unexpected error:', error); }}اگلے اقدامات
- کمپنیز مینجمنٹ - کارپوریٹ اکاؤنٹس کا انتظام کریں
- ڈیلز مینجمنٹ - سیلز پائپ لائن ٹریک کریں
- ٹاسک مینجمنٹ - سیلز سرگرمیوں کا انتظام کریں
- فائلز - ڈیل کی اٹیچمنٹس کا انتظام کریں