Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

n8n: trigger SMS via Openapi from an automated workflow

Đang mở
#32 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
docker, php
Lĩnh vực
backend-api-design, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

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.yml example 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?
Ngôn ngữ chính
PHP
Star
20
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openapi/openapi-php-sdk

Tất cả issue của openapi/openapi-php-sdk

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.