Gmail to Notion AI Task and Route Sync
f8c38f79-1e41-48f5-84ca-03003b74ea97
Latency
4445ms
Cost
$0.0029
Tokens
598
Status
successgpt-4o-mini
Workflow Graph
Trace
[
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "3f649e97-e568-47ff-b175-bf63d859d95f",
"timestamp": 1783207956383
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o",
"nodeId": "llm",
"timestamp": 1783207956383
},
{
"data": {
"model": "gpt-4o",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783207956383
},
{
"data": {
"model": "gpt-4o-mini-2024-07-18",
"costUsd": 0.0001075,
"provider": "openai",
"latencyMs": 644,
"promptTokens": 7,
"completionTokens": 9
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1783207957031
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "3f649e97-e568-47ff-b175-bf63d859d95f",
"timestamp": 1783207957031
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "bd60c65f-ba6c-4dcb-8d09-b29f5dd475b7",
"timestamp": 1783207957036
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "toolcalculator",
"latencyMs": 0,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207957036
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "bd60c65f-ba6c-4dcb-8d09-b29f5dd475b7",
"timestamp": 1783207957036
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "d052786a-92a0-4f9b-9867-2dd64ada8034",
"timestamp": 1783207957039
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783207957039
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "d052786a-92a0-4f9b-9867-2dd64ada8034",
"timestamp": 1783207957039
},
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "f773e41f-13b7-483a-9886-90a4425a7f6a",
"timestamp": 1783207957041
},
{
"data": {
"kind": "n8n-nodes-base.gmailTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1783207957041
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "f773e41f-13b7-483a-9886-90a4425a7f6a",
"timestamp": 1783207957041
},
{
"data": {
"nodeType": "manualTrigger"
},
"event": "node_start",
"nodeId": "14764527-ca40-4937-baa2-368b716c6f58",
"timestamp": 1783207957042
},
{
"data": {
"initialData": {
"id": "msg_1234567890abcdef",
"name": "Gmail Trigger",
"text": "This is a test email body. Please create a task for me to follow up on the Q3 report. And make sure that it's a simple task.",
"Token": "fake_gmail_token_12345",
"route": {
"id": "route_abc123",
"name": "Client Inquiries",
"Active": true,
"NotionDatabase": {
"id": "notion_db_xyz789",
"match": "Client Tasks"
}
},
"Active": true,
"output": null,
"labelIds": [
"INBOX",
"UNREAD"
],
"errorLabelID": "Label_Error_67890",
"toJsonString": "{\"id\": \"msg_1234567890abcdef\", \"threadId\": \"thread_1234567890\", \"labelIds\": [\"INBOX\", \"UNREAD\"], \"snippet\": \"Please create a task for me to follow up on the Q3 report.\", \"payload\": {\"headers\": {\"to\": \"tasks@example.com\", \"from\": \"client@example.com\"}, \"body\": {\"data\": \"VGhpcyBpcyBhIHRlc3QgZW1haWwgYm9keS4gUGxlYXNlIGNyZWF0ZSBhIHRhc2sgZm9yIG1lIHRvIGZvbGxvdyB1cCBvbiB0aGUgU1EgcmVwb3J0LiBBbmQgbWFrZSBzdXJlIHRoYXQgaXQncyBhIHNpbXBsZSB0YXNrLiA=\", \"size\": 100}}, \"internalDate\": \"1678886400000\"}}",
"to.text.match": "tasks@example.com",
"NotionDatabase": {
"id": "notion_db_xyz789",
"match": "Client Tasks"
},
"processedLabelID": "Label_Processed_12345",
"from.value.address": "client@example.com"
}
},
"event": "triggered",
"nodeId": "manualTrigger",
"timestamp": 1783207957042
},
{
"data": {
"status": "ok",
"nodeType": "manualTrigger"
},
"event": "node_end",
"nodeId": "14764527-ca40-4937-baa2-368b716c6f58",
"timestamp": 1783207957042
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "f68e66e1-9f84-498a-bfc4-f7c5b2ca42b1",
"timestamp": 1783207957043
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783207957043
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "f68e66e1-9f84-498a-bfc4-f7c5b2ca42b1",
"timestamp": 1783207957043
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "c55a3e9b-5637-4775-a0a6-ea11f1bd26a7",
"timestamp": 1783207957045
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "toolcalculator",
"latencyMs": 0,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207957045
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "c55a3e9b-5637-4775-a0a6-ea11f1bd26a7",
"timestamp": 1783207957045
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "4d4f7b04-5431-47d2-b9b1-ee2c516e729c",
"timestamp": 1783207957046
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o",
"nodeId": "llm",
"timestamp": 1783207957046
},
{
"data": {
"model": "gpt-4o",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783207957046
},
{
"data": {
"model": "gpt-4o-mini-2024-07-18",
"costUsd": 0.0001075,
"provider": "openai",
"latencyMs": 596,
"promptTokens": 7,
"completionTokens": 9
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1783207957644
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "4d4f7b04-5431-47d2-b9b1-ee2c516e729c",
"timestamp": 1783207957644
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "697198d3-2fc2-4665-86a8-4bc16dbc3d43",
"timestamp": 1783207957650
},
{
"data": {
"inputKeys": [
"processedLabelID",
"id",
"Active",
"to.text.match",
"errorLabelID",
"from.value.address",
"route",
"toJsonString",
"Token",
"labelIds",
"name",
"output",
"NotionDatabase",
"text"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783207957650
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "697198d3-2fc2-4665-86a8-4bc16dbc3d43",
"timestamp": 1783207957650
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "133e3498-10ce-4a08-aa50-3c7d56f1b9c8",
"timestamp": 1783207957651
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "gmail",
"latencyMs": 0,
"operation": "read",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207957651
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "133e3498-10ce-4a08-aa50-3c7d56f1b9c8",
"timestamp": 1783207957651
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "918ce27c-2886-4793-81f5-e459f3299bb1",
"timestamp": 1783207957653
},
{
"data": {
"of": 1,
"kept": 1
},
"event": "filter",
"nodeId": "passthrough",
"timestamp": 1783207957653
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "918ce27c-2886-4793-81f5-e459f3299bb1",
"timestamp": 1783207957653
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "5f955606-4063-4683-b242-2fc0a4fbf34a",
"timestamp": 1783207957655
},
{
"data": {
"of": 3,
"kept": 3
},
"event": "filter",
"nodeId": "passthrough",
"timestamp": 1783207957655
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "5f955606-4063-4683-b242-2fc0a4fbf34a",
"timestamp": 1783207957655
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "fd0f902f-4d16-4bad-8ed0-7fe02e8e879b",
"timestamp": 1783207957656
},
{
"data": {
"inputKeys": [
"0"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783207957656
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "fd0f902f-4d16-4bad-8ed0-7fe02e8e879b",
"timestamp": 1783207957656
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "7dd9646c-3172-4b53-82c8-4df7fd5f53ea",
"timestamp": 1783207957657
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "airtable",
"latencyMs": 0,
"operation": "get",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207957657
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "7dd9646c-3172-4b53-82c8-4df7fd5f53ea",
"timestamp": 1783207957657
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "8a4c49f9-0c14-46ea-a475-a0d83eb9d688",
"timestamp": 1783207957659
},
{
"data": {
"of": 1,
"kept": 1
},
"event": "filter",
"nodeId": "passthrough",
"timestamp": 1783207957659
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "8a4c49f9-0c14-46ea-a475-a0d83eb9d688",
"timestamp": 1783207957659
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "1d2fe867-f3d1-4702-b35e-f730f20b7251",
"timestamp": 1783207957660
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783207957660
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "1d2fe867-f3d1-4702-b35e-f730f20b7251",
"timestamp": 1783207957660
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "ea081c31-2721-4e6c-820a-2f0da33495ac",
"timestamp": 1783207957661
},
{
"data": {
"messages": 2,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783207957661
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783207957661
},
{
"data": {
"model": "gpt-4o-mini-2024-07-18",
"costUsd": 0.00133,
"provider": "openai",
"latencyMs": 1300,
"promptTokens": 196,
"completionTokens": 84
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1783207958970
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "ea081c31-2721-4e6c-820a-2f0da33495ac",
"timestamp": 1783207958970
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "5e7cc69c-8f58-4ac8-9263-1ad206609295",
"timestamp": 1783207958971
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "gmail",
"latencyMs": 0,
"operation": "read",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207958971
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "5e7cc69c-8f58-4ac8-9263-1ad206609295",
"timestamp": 1783207958971
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "6fb2d964-dc0b-45d9-8307-6da16fba769e",
"timestamp": 1783207958973
},
{
"data": {
"messages": 2,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783207958973
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783207958973
},
{
"data": {
"model": "gpt-4o-mini-2024-07-18",
"costUsd": 0.00136,
"provider": "openai",
"latencyMs": 1330,
"promptTokens": 200,
"completionTokens": 86
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1783207960304
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "6fb2d964-dc0b-45d9-8307-6da16fba769e",
"timestamp": 1783207960304
},
{
"data": {
"nodeType": "code"
},
"event": "node_start",
"nodeId": "6558328c-30cf-4f37-a0cb-d5f9f6efa7b2",
"timestamp": 1783207960304
},
{
"event": "execution error (simulated): Cannot read properties of undefined (reading 'sender')",
"nodeId": "code",
"timestamp": 1783207960310
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "code",
"latencyMs": 0,
"operation": "exec-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207960310
},
{
"data": {
"status": "ok",
"nodeType": "code"
},
"event": "node_end",
"nodeId": "6558328c-30cf-4f37-a0cb-d5f9f6efa7b2",
"timestamp": 1783207960310
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "8ddfe273-3fda-4b71-a972-5001d4fa71c1",
"timestamp": 1783207960313
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 0,
"operation": "fixture",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207960313
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "8ddfe273-3fda-4b71-a972-5001d4fa71c1",
"timestamp": 1783207960313
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "50d396fd-d3b0-4fea-99d7-18bd4773cb20",
"timestamp": 1783207960314
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "gmail",
"latencyMs": 0,
"operation": "addLabels",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207960314
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "50d396fd-d3b0-4fea-99d7-18bd4773cb20",
"timestamp": 1783207960314
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "81d1dec6-aacc-480d-8cb4-1832ff27de92",
"timestamp": 1783207960316
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "airtable",
"safeMode": true,
"latencyMs": 500,
"operation": "update",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207960816
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "81d1dec6-aacc-480d-8cb4-1832ff27de92",
"timestamp": 1783207960816
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "7a788a4f-f0a8-4fe8-b21d-b114a65313b1",
"timestamp": 1783207960825
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "gmail",
"latencyMs": 0,
"operation": "read",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207960825
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "7a788a4f-f0a8-4fe8-b21d-b114a65313b1",
"timestamp": 1783207960825
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "20242505-c57e-424c-a215-2b2effac1d94",
"timestamp": 1783207960828
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "gmail",
"latencyMs": 0,
"operation": "addLabels",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783207960828
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "20242505-c57e-424c-a215-2b2effac1d94",
"timestamp": 1783207960828
}
]