Send Taiwan stock pre-market briefings using TWSE, CNYES, OpenAI and Telegram
42ebb3fd-675b-4ef5-9e94-b1ae3e52e6c9
Latency
28672ms
Cost
$0.0000
Tokens
0
Status
partialgpt-4o-mini
Workflow Graph
Trace
[
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "schedule-trigger",
"timestamp": 1783445835087
},
{
"data": {
"kind": "n8n-nodes-base.scheduleTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1783445835087
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "schedule-trigger",
"timestamp": 1783445835087
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "config-node",
"timestamp": 1783445835088
},
{
"data": {
"inputKeys": [
"tradingDate",
"trading_date_fmt",
"date",
"weekday",
"prompt_style",
"watchlist",
"top_n",
"foreign_top_buy_text",
"foreign_top_sell_text",
"limit_up_count",
"limit_up_text",
"limit_down_count",
"limit_down_text",
"taiex_text",
"news_text",
"tradingDateFmt",
"text",
"telegramChatId"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783445835088
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "config-node",
"timestamp": 1783445835088
},
{
"data": {
"nodeType": "code"
},
"event": "node_start",
"nodeId": "calc-trading-date",
"timestamp": 1783445835088
},
{
"event": "execution error (simulated): $now is not defined",
"nodeId": "code",
"timestamp": 1783445835089
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "code",
"latencyMs": 0,
"operation": "exec-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783445835089
},
{
"data": {
"status": "ok",
"nodeType": "code"
},
"event": "node_end",
"nodeId": "calc-trading-date",
"timestamp": 1783445835089
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "twse-t86-fetch",
"timestamp": 1783445835090
},
{
"event": "fetching GET https://www.twse.com.tw/rwd/zh/fund/T86",
"nodeId": "http",
"timestamp": 1783445835090
},
{
"data": {
"url": "https://www.twse.com.tw/rwd/zh/fund/T86",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783445835090
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "twse-t86-fetch",
"timestamp": 1783445836498
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "twse-mi-index-fetch",
"timestamp": 1783445836500
},
{
"event": "fetching GET https://www.twse.com.tw/rwd/zh/afterTrading/MI_INDEX",
"nodeId": "http",
"timestamp": 1783445836500
},
{
"data": {
"url": "https://www.twse.com.tw/rwd/zh/afterTrading/MI_INDEX",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783445836500
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "twse-mi-index-fetch",
"timestamp": 1783445837025
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "cnyes-fetch",
"timestamp": 1783445837027
},
{
"event": "fetching GET https://api.cnyes.com/media/api/v1/newslist/category/headline",
"nodeId": "http",
"timestamp": 1783445837027
},
{
"data": {
"url": "https://api.cnyes.com/media/api/v1/newslist/category/headline",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783445837027
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "cnyes-fetch",
"timestamp": 1783445837683
},
{
"data": {
"nodeType": "merge"
},
"event": "node_start",
"nodeId": "merge-sources",
"timestamp": 1783445837685
},
{
"data": {
"inputCount": 3
},
"event": "merged 3 inputs",
"nodeId": "merge",
"timestamp": 1783445837685
},
{
"data": {
"status": "ok",
"nodeType": "merge"
},
"event": "node_end",
"nodeId": "merge-sources",
"timestamp": 1783445837685
},
{
"data": {
"nodeType": "code"
},
"event": "node_start",
"nodeId": "format-data",
"timestamp": 1783445837685
},
{
"event": "execution error (simulated): $now is not defined",
"nodeId": "code",
"timestamp": 1783445837686
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "code",
"latencyMs": 0,
"operation": "exec-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783445837686
},
{
"data": {
"status": "ok",
"nodeType": "code"
},
"event": "node_end",
"nodeId": "format-data",
"timestamp": 1783445837687
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "openai-summarize",
"timestamp": 1783445837688
},
{
"data": {
"messages": 1,
"maxTokens": 1500
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783445837688
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783445837688
},
{
"data": {
"error": "OpenAI API error (429): {\n \"error\": {\n \"message\": \"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\",\n \"type\": \"insufficient_quota\",\n \"param\": null,\n \"code\": \"insufficient_quota\"\n }\n}\n",
"status": "error",
"degraded": true,
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "openai-summarize",
"timestamp": 1783445863253
},
{
"data": {
"nodeType": "code"
},
"event": "node_start",
"nodeId": "compose-message",
"timestamp": 1783445863253
},
{
"event": "execution error (simulated): $now is not defined",
"nodeId": "code",
"timestamp": 1783445863256
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "code",
"latencyMs": 0,
"operation": "exec-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783445863256
},
{
"data": {
"status": "ok",
"nodeType": "code"
},
"event": "node_end",
"nodeId": "compose-message",
"timestamp": 1783445863256
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "telegram-send",
"timestamp": 1783445863257
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "telegram",
"safeMode": true,
"latencyMs": 500,
"operation": "sendMessage",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783445863759
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "telegram-send",
"timestamp": 1783445863759
}
]