Aufgabenverwaltung

Mit der Brevo CRM Tasks API erstellst und verwaltest du Vertriebsaktivitäten, Follow-ups und Erinnerungen, damit dein Team innerhalb der Tajo-Plattform organisiert bleibt.

Überblick

Aufgabenverwaltung ist essenziell für:

  • Sales-Follow-ups mit automatisierten Erinnerungen und Fälligkeitsterminen
  • Team-Koordination durch die Zuweisung von Aktivitäten an einzelne Teammitglieder
  • Deal-Fortschritt durch Verknüpfung von Aufgaben mit Deals und Unternehmen
  • Aktivitätsverfolgung zur Beobachtung von Team-Produktivität und Erledigungsraten
  • Customer Engagement durch geplante Loyalty-Programm-Outreach und Check-ins

Schnellstart

Aufgabe anlegen

POST https://api.brevo.com/v3/crm/tasks
Content-Type: application/json
api-key: YOUR_API_KEY
{
"name": "Follow up on Enterprise Loyalty proposal",
"taskType": "call",
"date": "2026-02-15T10:00:00Z",
"duration": 1800,
"notes": "Discuss volume discount tier and loyalty point allocation",
"assignTo": "[email protected]",
"companiesIds": ["comp_123456789"],
"dealsIds": ["deal_abc123def456"],
"contactsIds": [12345],
"done": false,
"reminder": {
"value": 15,
"unit": "minutes"
}
}

Antwort

{
"id": "task_xyz789",
"name": "Follow up on Enterprise Loyalty proposal",
"taskType": "call",
"date": "2026-02-15T10:00:00Z",
"done": false,
"created_at": "2026-01-25T14:30:00Z"
}

Aufgaben abrufen

Alle Aufgaben auflisten

GET https://api.brevo.com/v3/crm/tasks?limit=50&offset=0&sort=desc
Content-Type: application/json
api-key: YOUR_API_KEY

Antwort

{
"items": [
{
"id": "task_xyz789",
"name": "Follow up on Enterprise Loyalty proposal",
"taskType": "call",
"date": "2026-02-15T10:00:00Z",
"duration": 1800,
"assignTo": "[email protected]",
"done": false,
"companiesIds": ["comp_123456789"],
"dealsIds": ["deal_abc123def456"],
"created_at": "2026-01-25T14:30:00Z"
}
],
"total": 1
}

Aufgaben filtern

GET https://api.brevo.com/v3/crm/tasks?filters[done]=false&filters[taskType]=call&sort=date:asc

Einzelne Aufgabe abrufen

GET https://api.brevo.com/v3/crm/tasks/{task_id}
Content-Type: application/json
api-key: YOUR_API_KEY

Aufgabentypen

Das CRM unterstützt mehrere Aufgabentypen für unterschiedliche Vertriebsaktivitäten:

TypBeschreibungAnwendungsfall
callTelefongesprächFollow-up-Anrufe, Demos, Check-ins
emailE-Mail-OutreachAngebote, Updates, Newsletter
meetingPersönliches oder virtuelles MeetingDemos, Verhandlungen, Reviews
todoAllgemeine AufgabeInterne Arbeit, Recherche, Vorbereitung
deadlineZeitkritische AufgabeVertragsverlängerungen, Meilensteine

Automatisierte Aufgabenerstellung

Deal-basierte Aufgabenautomatisierung

Lege Aufgaben automatisch an, wenn Deals durch die Phasen wandern:

class TaskAutomation {
constructor() {
this.tasksApi = new TasksApi();
}
async createDealFollowUp(deal, stageChange) {
const taskTemplates = {
'Lead': {
name: `Qualify lead: ${deal.name}`,
taskType: 'call',
daysFromNow: 1,
duration: 900
},
'Qualified': {
name: `Schedule demo: ${deal.name}`,
taskType: 'meeting',
daysFromNow: 3,
duration: 3600
},
'Demo': {
name: `Send proposal: ${deal.name}`,
taskType: 'email',
daysFromNow: 1,
duration: 1800
},
'Proposal': {
name: `Follow up on proposal: ${deal.name}`,
taskType: 'call',
daysFromNow: 5,
duration: 900
},
'Negotiation': {
name: `Finalize contract: ${deal.name}`,
taskType: 'deadline',
daysFromNow: 7,
duration: 3600
},
'Closed Won': {
name: `Onboard customer: ${deal.name}`,
taskType: 'meeting',
daysFromNow: 2,
duration: 3600
}
};
const template = taskTemplates[stageChange.newStage];
if (!template) return null;
const taskDate = new Date();
taskDate.setDate(taskDate.getDate() + template.daysFromNow);
return await this.tasksApi.createTask({
name: template.name,
taskType: template.taskType,
date: taskDate.toISOString(),
duration: template.duration,
assignTo: deal.attributes.deal_owner,
dealsIds: [deal.id],
companiesIds: deal.attributes.company_id ? [deal.attributes.company_id] : [],
contactsIds: deal.attributes.contact_id ? [deal.attributes.contact_id] : [],
done: false,
reminder: { value: 30, unit: 'minutes' }
});
}
async createLoyaltyCheckIn(company) {
return await this.tasksApi.createTask({
name: `Loyalty program check-in: ${company.name}`,
taskType: 'call',
date: new Date(Date.now() + 30 * 24 * 60 * 60 * 1000).toISOString(),
duration: 1800,
assignTo: company.attributes.account_manager,
companiesIds: [company.id],
notes: `Review tier status: ${company.attributes.loyalty_tier}\nAnnual spend: $${company.attributes.annual_spend}`,
done: false,
reminder: { value: 1, unit: 'days' }
});
}
}

Bulk-Aufgabenoperationen

class BulkTaskManager {
async createRenewalTasks(daysBeforeExpiry = 90) {
const renewalDate = new Date();
renewalDate.setDate(renewalDate.getDate() + daysBeforeExpiry);
const companies = await this.companiesApi.getCompanies({
filters: {
'attributes.renewal_date': `<${renewalDate.toISOString()}`
}
});
const tasks = [];
for (const company of companies.items) {
const task = await this.tasksApi.createTask({
name: `Contract renewal: ${company.name}`,
taskType: 'deadline',
date: company.attributes.renewal_date,
assignTo: company.attributes.account_manager,
companiesIds: [company.id],
notes: `Contract value: $${company.attributes.contract_value}\nCurrent tier: ${company.attributes.loyalty_tier}`,
done: false,
reminder: { value: 7, unit: 'days' }
});
tasks.push(task);
}
return tasks;
}
}

API-Methoden-Referenz

// Neue Aufgabe anlegen
const task = await tasksApi.createTask({
name: 'Follow up call',
taskType: 'call',
date: '2026-02-15T10:00:00Z',
assignTo: '[email protected]',
done: false
});
// Aufgabe per ID abrufen
const task = await tasksApi.getTask('task_xyz789');
// Aufgabe aktualisieren
await tasksApi.updateTask('task_xyz789', {
done: true,
notes: 'Customer agreed to upgrade tier'
});
// Aufgabe löschen
await tasksApi.deleteTask('task_xyz789');
// Aufgaben mit Filtern auflisten
const tasks = await tasksApi.getTasks({
filters: {
done: false,
taskType: 'call',
assignTo: '[email protected]'
},
sort: 'date:asc',
limit: 50
});

Best Practices

  1. Aufgabenerstellung automatisieren: Verknüpfe Aufgaben mit Phasenwechseln, damit Follow-ups konsistent bleiben
  2. Erinnerungen setzen: Konfiguriere immer Erinnerungen für zeitkritische Aufgaben
  3. Datensätze verknüpfen: Verbinde Aufgaben mit Deals, Unternehmen und Kontakten für mehr Kontext
  4. Erledigung verfolgen: Beobachte Erledigungsraten, um Team-Performance einzuschätzen
  5. Aufgabentypen nutzen: Kategorisiere Aufgaben sauber, damit das Aktivitäts-Reporting belastbar bleibt

Fehlerbehandlung

try {
const task = await tasksApi.createTask(taskData);
console.log('Task created:', task.id);
} catch (error) {
if (error.status === 400) {
console.error('Invalid task data:', error.message);
} else if (error.status === 404) {
console.error('Associated deal or contact not found');
} else {
console.error('Unexpected error:', error);
}
}

Nächste Schritte

Subscribe to updates

developer-docs

Drop your email or phone number — we'll send you what matters next.

auto-detect
AI-Assistent

Hallo! Fragen Sie mich alles über die Dokumentation.