{ "name": "Webhook → AI summary → email (exe.dev)", "description": "Catches a webhook, summarizes its text with the exe.dev LLM gateway, emails the summary to the VM's owner, and returns it to /sync callers.", "flows": [ { "displayName": "Webhook → AI summary → email", "trigger": { "name": "trigger", "type": "PIECE_TRIGGER", "valid": true, "displayName": "Catch Webhook", "settings": { "pieceName": "@activepieces/piece-webhook", "pieceVersion": "0.1.43", "triggerName": "catch_webhook", "input": { "authType": "none", "authFields": {} }, "propertySettings": {} }, "nextAction": { "name": "step_1", "type": "PIECE", "valid": true, "displayName": "Look up the VM owner's email", "settings": { "pieceName": "@activepieces/piece-http", "pieceVersion": "0.13.3", "actionName": "send_request", "input": { "method": "GET", "url": "https://reflection.int.exe.xyz/email", "headers": {}, "queryParams": {}, "authType": "NONE", "authFields": {}, "body_type": "none", "body": {}, "response_is_binary": false, "use_proxy": false, "timeout": 60, "followRedirects": false, "failureMode": "continue_none" }, "propertySettings": {}, "errorHandlingOptions": { "retryOnFailure": { "value": false }, "continueOnFailure": { "value": false } } }, "nextAction": { "name": "step_2", "type": "PIECE", "valid": true, "displayName": "Summarize with the exe.dev LLM gateway", "settings": { "pieceName": "@activepieces/piece-http", "pieceVersion": "0.13.3", "actionName": "send_request", "input": { "method": "POST", "url": "https://llm.int.exe.xyz/v1/chat/completions", "headers": { "Content-Type": "application/json" }, "queryParams": {}, "authType": "NONE", "authFields": {}, "body_type": "json", "body": { "data": { "model": "gpt-5.4-mini", "messages": [ { "role": "system", "content": "Summarize the message in at most two sentences, then suggest one next step." }, { "role": "user", "content": "{{trigger['output']['body']['text']}}" } ] } }, "response_is_binary": false, "use_proxy": false, "timeout": 60, "followRedirects": false, "failureMode": "continue_none" }, "propertySettings": {}, "errorHandlingOptions": { "retryOnFailure": { "value": false }, "continueOnFailure": { "value": false } } }, "nextAction": { "name": "step_3", "type": "PIECE", "valid": true, "displayName": "Email the summary", "settings": { "pieceName": "@activepieces/piece-http", "pieceVersion": "0.13.3", "actionName": "send_request", "input": { "method": "POST", "url": "http://169.254.169.254/gateway/email/send", "headers": { "Content-Type": "application/json" }, "queryParams": {}, "authType": "NONE", "authFields": {}, "body_type": "json", "body": { "data": { "to": "{{step_1['output']['body']['email']}}", "subject": "Activepieces: {{trigger['output']['body']['subject']}}", "body": "{{step_2['output']['body']['choices'][0]['message']['content']}}\n\nOriginal message:\n{{trigger['output']['body']['text']}}" } }, "response_is_binary": false, "use_proxy": false, "timeout": 60, "followRedirects": false, "failureMode": "continue_none" }, "propertySettings": {}, "errorHandlingOptions": { "retryOnFailure": { "value": false }, "continueOnFailure": { "value": false } } }, "nextAction": { "name": "step_4", "type": "PIECE", "valid": true, "displayName": "Return Response", "settings": { "pieceName": "@activepieces/piece-webhook", "pieceVersion": "0.1.43", "actionName": "return_response", "input": { "responseType": "json", "respond": "stop", "fields": { "status": 200, "headers": {}, "body": { "ok": true, "summary": "{{step_2['output']['body']['choices'][0]['message']['content']}}", "emailed": "{{step_1['output']['body']['email']}}" } } }, "propertySettings": {}, "errorHandlingOptions": {} }, "lastUpdatedDate": "2026-11-21T00:00:00.000Z" }, "lastUpdatedDate": "2026-11-21T00:00:00.000Z" }, "lastUpdatedDate": "2026-11-21T00:00:00.000Z" }, "lastUpdatedDate": "2026-11-21T00:00:00.000Z" }, "lastUpdatedDate": "2026-11-21T00:00:00.000Z" }, "schemaVersion": "28", "valid": true } ] }