テンプレートヘルプ価格ブログコミュニティ
お問い合わせ
ログイン
製品
ログイン & 登録
テンプレートセンター
統合
API ドキュメント
サポート
ヘルプセンター
チュートリアル
ロードマップ
ブランド資料
プライバシーポリシー
利用規約
連絡方法
コミュニティ
セールスに連絡
会社
アフィリエイトプログラム
私たちについて
AItool-PRO
© 2025 Copyright Bika.ai
twitterLinkedInmedium

スクリプト実行アクションガイド

この自動化機能では、指定されたプログラミング言語でコードスニペットを実行できます。現在、次の3つのプログラミング言語をサポートしています:JavaScript、TypeScript、Python。

設定手順の詳細

この機能を使用するには、JavaScript、TypeScript、またはPythonで書かれたスクリプトファイルを準備する必要があります。

1. スクリプトの作成

ユーザーはBIKAスクリプトエディタで直接スクリプトを作成できます。スクリプトで使用するプログラミング言語を明確に指定する必要があります:JavaScript、TypeScript、またはPython。

2. 「スクリプトを実行」アクションの設定

BIKAの自動化インターフェースで「スクリプトを実行」アクションを設定するには、以下の手順に従ってください:

サポートされる言語とライブラリ

  • JavaScriptおよびTypeScript:

    • fetch、axios、lodashなどのライブラリをサポートしています。

    • JSONデータを自動化ワークフローに返すことができます。

      • サンプルコード:

        const str = 'Hello, World!';
        const json = { str };
        json;
        

        JavaScriptサンプル1

    • 非同期関数の場合、async functionで囲み、returnキーワードを使用してデータを返すことをお勧めします。

      • サンプルコード:

        (async () => {
          const url = 'https://api.exchangerate-api.com/v4/latest/USD';
          const response = await fetch(url);
          if (!response.ok) {
            throw new Error(response.status);
          }
          return await response.json();
        })();
        

        JavaScriptサンプル2

  • Python:

    • サポートされているライブラリにはnumpy、httpx、bs4、pandasが含まれます。

    • requestsライブラリはサポートされていません。

    • すべての戻り値変数は自動化ワークフローに出力されます。

      • サンプルコード:

        import httpx
        url = 'https://api.exchangerate-api.com/v4/latest/USD'
        r = httpx.get(url)
        data = r.json()
        

        Pythonサンプル

3. 自動化アクションの設定

  1. 自動化タスク編集ページで新しいアクションを追加し、アクションタイプリストから「スクリプトを実行」を選択します。

  2. スクリプト言語を選択します:JavaScript、TypeScript、またはPython。

  3. 「スクリプト内容」エリアにスクリプトコードを入力します。例えば、Pythonスクリプトで「Hello World」を表示する簡単なスクリプトを実行できます:

    print("Hello World")
    
  4. 保存して有効化:スクリプト設定が完了したら、「保存」をクリックしてアクションを保存します。

4. テスト実行

  1. テスト実行:
  • 自動化タスクインターフェースに戻ります。
  • ページの下部にある「今すぐ実行」ボタンをクリックすると、設定に基づいてシステムがスクリプトを実行します。
  1. 結果の確認:スクリプト実行後、実行履歴を確認して出力結果を確認できます。スクリプトが順調に実行され、期待される結果が返された場合、設定が正しいことになります。

これで、「スクリプトを実行」の自動化アクションの設定と実行が成功裏に完了しました。

call to action

おすすめの読み物

  • What’s the difference between an AI Agent and an LLM?
  • How AI Agents Can Automate Your Brand Marketing Efforts
  • Best AI Slogan Generators for Startups in 2025: Create Your Brand Identity Instantly
  • How Agentic AI Resolves Issues: Real-World Use Cases
  • AI Brand Designer: The Ultimate Assistant for Product Launch Campaigns
AI自動化テンプレートをお勧めします
Interview Questions
Interview Questions
Streamline your hiring process with Bika.ai’s Interview Questions template. Create and manage interview forms, checklists, and tables while automating reminders and task assignments. Evaluate candidates’ management style, cultural fit, and key weaknesses efficiently. With a centralized recruitment dashboard, monitor candidate selection, track interview feedback, and optimize your recruitment strategy. Ideal for HR leaders, recruiters, and hiring teams seeking a smart, automated way to improve hiring efficiency and ensure precise talent screening.
项目进度管理
项目进度管理
通过集中管理项目和任务完成进度和执行情况,利用自动化功能跟进项目任务状态,有助于提高项目管理和任务协作的效率。
Investor deal flow
Investor deal flow
Streamline your investment tracking with Bika.ai’s Investor Deal Flow template. Manage prospective deals, company contacts, and transaction details efficiently through a centralized dashboard. Track deal pipelines, monitor deal progress, and analyze deal analytics to improve management efficiency and ensure timely decision-making. Ideal for sales teams, investment firms, entrepreneurs, and business development teams seeking a complete deal management solution.
AI プログラマー
AI Programmer は、あなたの生のリリースノートを最新の、公開可能な HTML ページに変換する AI ページです。
14-Day Automated Cold-Email Outreach Campaign
14-Day Automated Cold-Email Outreach Campaign
Launch a 14-day automated cold outreach campaign with this done-for-you email outreach template. Run a fully automated email sequence and drip email sequence for outbound email campaigns and outbound sales emails, complete with automated follow ups and lead nurturing emails. Use a clear email campaign workflow to manage automated email outreach, track engagement, and scale cold outreach to influencers, partners, and prospects—without manual follow-ups.
LinkedIn投稿の自動化
LinkedIn投稿の自動化
このテンプレートを使用してAIによるLinkedIn投稿の自動化を実現し、データベース内の準備されたLinkedInコンテンツを読み取り、自動的に投稿してソーシャルメディアの露出を増やし、エンゲージメントを追跡するために公開URLを自動的に記録できます。

Coming soon

スクリプト実行アクションガイド
設定手順の詳細
1. スクリプトの作成
2. 「スクリプトを実行」アクションの設定
3. 自動化アクションの設定
4. テスト実行