n8n: trigger SMS via Openapi from an automated workflow
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 冷清
- 技術堆疊
- docker, php
研究方向
Start by reading the SDK's existing client and deployment documentation to see how it is configured and used. The issue proposes a Docker-composable microservice or FrankenPHP binary but leaves deployment, token handling, and project scope open; clarify those decisions before implementation. Done would mean an agreed deployment example or service design that lets n8n trigger SMS through the SDK.
由索引模型根據 Issue 內容生成。
描述
Use case
We use n8n to orchestrate customer notifications. One step requires sending an SMS via Openapi when a form is submitted. Currently we call a custom PHP endpoint that wraps the SDK, but it feels like unnecessary infrastructure.
Current architecture
n8n Webhook → HTTP Request → PHP endpoint → Openapi SDK → SMS API
The PHP endpoint looks like:
<?php
require 'vendor/autoload.php';
use Openapi\Client;
$body = json_decode(file_get_contents('php://input'), true);
$client = new Client(getenv('OPENAPI_TOKEN'));
echo $client->post('https://sms.openapi.com/send', [
'to' => $body['phone'],
'text' => $body['message'],
]);
Ideal state
A Docker-composable PHP microservice (or even a standalone FrankenPHP single binary) that exposes this pattern, so n8n can call it without deploying a full PHP app.
Open questions
- Would the project consider shipping a
docker-compose.ymlexample for this pattern? - Is FrankenPHP a reasonable target for a zero-config deployment story?
- Should the microservice handle token generation internally, or require the consumer to pass a pre-generated token?
- 主要語言
- PHP
- 星號
- 20
- 分支
- 3
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
openapi/openapi-php-sdk 的其他 Issue
-
Improve PHPDoc Consistency Across the Codebase可能重新可做 @Seraphim200001 於 138 天前認領,目前沒有進行中的 PR。 未關閉
難度 4/5 3-5 天 新手友好度 48/100
openapi/openapi-php-sdk#36 · 3 則留言 ·
-
enhancement help wanted
難度 5/5 一週以上 新手友好度 25/100
openapi/openapi-php-sdk#34 ·
-
good first issue question
難度 5/5 一週以上 新手友好度 35/100
openapi/openapi-php-sdk#33 · 2 則留言 ·
-
help wanted question
難度 5/5 一週以上 新手友好度 25/100
openapi/openapi-php-sdk#31 ·
-
enhancement good first issue
難度 5/5 一週以上 新手友好度 25/100
openapi/openapi-php-sdk#30 ·
查看 openapi/openapi-php-sdk 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 62/100
scanaislop/aislop#482 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
documentation
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
humanmade/publication-checklist#73 · 1 則留言 ·
-
Do not throw `WordPress.Security.EscapeOutput.OutputNotEscaped` on `apply_shortcodes()`可能已有人在做 @tbradsha 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 75/100