| Resource | Events | Description |
|---|---|---|
| Contacts | created, updated, deleted | Customer and lead records |
| Sources | created, updated, deleted | Lead source tracking |
| Statuses | created, updated, deleted | Contact status tracking |
/rasl-webhooks){
"event": {
"id": "evt_1702468200_abc123",
"type": "contact.created",
"timestamp": "2025-12-12T14:30:00.000Z",
"version": "1.0"
},
"tenant": {
"id": 123,
"name": "RASL",
"domain": "getrasl.io"
},
"data": {
"resource": {
"type": "contact",
"id": 456,
"attributes": {
"firstname": "Mahmoud",
"lastname": "Elsayed",
"email": "mahmoud@example.com",
"phone": "+201XXXXXXXXX",
"company": "RASL"
}
},
"relationships": {
"status": {
"id": 1,
"name": "Active"
},
"source": {
"id": 2,
"name": "Website"
}
}
},
"changes": {
"previous": null,
"current": { "firstname": "Mahmoud", "lastname": "Elsayed" },
"modified_fields": null
}
}{
{
$json.event.type === 'contact.created';
}
}🎉 New Contact Added!
Name: {{ $json.data.resource.attributes.firstname }} {{ $json.data.resource.attributes.lastname }}
Email: {{ $json.data.resource.attributes.email }}
Phone: {{ $json.data.resource.attributes.phone }}
Source: {{ $json.data.relationships.source.name }}
Status: {{ $json.data.relationships.status.name }}| Column | Data |
|---|---|
| A | {{ $json.data.resource.id }} |
| B | {{ $json.data.resource.attributes.firstname }} |
| C | {{ $json.data.resource.attributes.lastname }} |
| D | {{ $json.data.resource.attributes.email }} |
| E | {{ $json.data.resource.attributes.phone }} |
| F | {{ $json.data.relationships.status.name }} |
| G | {{ $json.data.relationships.source.name }} |
| H | {{ $json.event.timestamp }} |
{
{
$json.event.type === 'contact.updated' &&
$json.changes.modified_fields?.includes('status_id') &&
$json.data.relationships.status.name === 'Hot Lead';
}
}{
$json.data.resource.attributes.firstname;
}{
$json.data.resource.attributes.lastname;
}{
$json.data.resource.attributes.email;
}{
$json.data.resource.attributes.phone;
}{
$json.data.resource.attributes.company;
}{
$json.data.relationships.status.name;
}{
$json.data.relationships.source.name;
}{
$json.data.relationships.groups[0]?.name;
}{
{
$json.data.relationships.groups?.map((g) => g.name).join(', ');
}
}{
{
$json.data.relationships.assigned_to?.name;
}
}{
{
$json.changes.modified_fields?.includes('email');
}
}{
{
$json.changes.previous?.email;
}
}{
{
$json.changes.current?.email;
}
}Content-Type: application/json
X-Webhook-Event: contact.created
X-Webhook-Timestamp: 2025-12-12T14:30:00+00:00
X-Webhook-Format: n8n{
{
$json.event.type === 'contact.created' ||
$json.event.type === 'contact.updated';
}
}