Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

n8n: scheduled company credit score monitoring workflow

オープン
#33 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
php
領域
api

調査の方向性

Start by reviewing the PHP SDK's existing examples and API client usage, then check whether the credit score endpoint supports change webhooks and what polling limits apply. The issue sketches a daily n8n flow and a possible examples/n8n/ template, but leaves those design questions open; done would need an agreed alert workflow and a documented, runnable example.

索引モデルが issue の本文から書いたものです。

説明

good first issue question

Idea

Build an n8n workflow that runs daily, fetches the credit score of a watchlist of companies from Openapi, and sends a Slack alert if any score drops below a threshold.

Pseudocode for the PHP side

use Openapi\Client;

$client = new Client($token);
$watchlist = ['IT01234567890', 'IT09876543210'];

foreach ($watchlist as $vatNumber) {
    $score = json_decode(
        $client->get('https://risk.openapi.com/IT-creditscore', ['cf' => $vatNumber]),
        true
    );

    if ($score['value'] < 40) {
        // trigger Slack webhook from n8n
        yield ['cf' => $vatNumber, 'score' => $score['value'], 'alert' => true];
    }
}

n8n workflow sketch

Cron (daily 8am) → HTTP Request (PHP proxy) → IF score < 40 → Slack message

Open questions

  • Is there a way to subscribe to score changes via webhook instead of polling?
  • What is the recommended polling interval to avoid burning API credits?
  • Would an official n8n workflow template JSON be something the project could ship in examples/n8n/?
主要言語
PHP
スター
20
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openapi/openapi-php-sdk のほかの issue

openapi/openapi-php-sdk の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。