このワークフローのアプリ

仕組み

Are you tired of manually checking your website's performance and status? Do you wish for a seamless solution that keeps you informed in real-time? Look no further! With Latenode's Headless Browser and Telegram Bot integration, you can set up your own website monitoring service in just 5 minutes. Not only will you be able to monitor the activity of your website, but you'll also receive instant notifications the moment your site experiences any errors or downtime. In this guide, we'll walk you through the step-by-step process of creating this automation workflow.

必要なもの

  • Telegram account
  • Access to Latenode.com

Step 1: Creating a Telegram Bot

  • Initiate Conversation with BotFather
  • Start a conversation with BotFather on Telegram.
  • Create a New Bot:
Illustration of BotFather
  • Type /newbot and follow the prompts to give your bot a name and generate a username.
  • You'll receive an API key for your Telegram bot.

Enable Group Chat Invitations:

  • Type /help and /setjoingroups to allow your bot to be invited to group chats.

Add Bot to a Group Chat:

  • Create a new group chat or add your bot to an existing one.
  • You'll need the chat ID of this group for later steps.
Illustration how to Add BotFather to a Group chat

Step 2: Setting Up the Latenode Scenario

Illustration of setting up the scenario on Latenode

Log in to Latenode.com:

  • Latenode アカウントにサインインしてください。

Create a New Scenario:

  • Click on "Create New Scenario" and give it a name.

Configure Triggers:

  • Add a Schedule trigger to activate the performance check at regular intervals.
  • Add a Webhook trigger for customizable activation links.

Implement Headless Browser:

  • Add a Headless Browser node.

Here’s the code I’m using:


await page.goto('https://app.latenode.com/auth', { waitUntil: 'networkidle2' });

// The waitForSelector is used here to ensure that the React app has finished rendering.
// This is a simple approach and might need to be adjusted based on the actual app behavior.
await page.waitForSelector('[data-test-id="authEmailInput"]', { timeout: 10000 });

// Check if the specific string exists on the page
const isStringPresent = await page.evaluate(() => {
    return document.body.textContent.includes('Create your account');
});

return { "result": isStringPresent };


This is just a simple example. You can build up any logic here, Latenode’s Headless browser is giving you a huge variety of possibilities with a Puppeteer library.

  • Copy and paste the provided code to navigate to your website and check for specific text.

Set Up Telegram Nodes:

  • Add two Telegram Bot API nodes to send messages.
  • Connect them to the Headless Browser node.
  • Configure filters to execute based on the result of the Headless Browser node.

Configure Telegram Nodes:

illustration of Configuration of Telegram nodes
  • Enter your bot's access token obtained from BotFather.
  • Provide the chat ID of the group where you want to receive notifications.
  • Customize the message text and parsing mode.

Save and Deploy

  • Save the scenario and deploy it to make it automatically active.

結論

Congratulations! You've successfully created your own webpage monitoring workflow using Latenode. With this automation in place, you'll receive real-time updates on your website's performance directly to your Telegram group chat. Feel free to customize and adapt the scenario to suit your specific needs, whether you want to monitor website changes or monitor a website for changes. 

Join our Discord Channel for support and to connect with other low-code enthusiasts. The possibilities for automation are endless, and we're excited to have you join us on this journey!

カテゴリー

AI
IT&開発

よくあるご質問

プログラミングに詳しくないのですが、Latenode 。

はい、Latenode はあらゆるスキルレベルのユーザー向けに設計されています。JavaScriptに熟練した方には高度な機能を、初心者の方には直感的なビジュアルツールとAIアシストを提供します。経験豊富な開発者であれ、初心者であれ、Latenode はあなたのスキルレベルに合わせたユーザーフレンドリーな体験を提供します‍‍。

Latenode はサードパーティのサービスやAPIと統合できますか?

はい、Latenode は、幅広いサードパーティ・サービスや API との統合をサポートしています。Latenode をさまざまなオンライン・プラットフォーム、データベース、ソフトウェア・システムに接続して、データ転送を自動化し、アクションをトリガーし、ワークフローを合理化することができます。Latenode は、統合プロセスを促進するためのツールやリソースも提供しています。

Latenode の無料版はありますか?

はい、Latenode には、その機能をお試しいただける無料版があります。このバージョンにはLatenode の機能のサブセットが含まれており、自動化から始めてその利点を体験することができます。その後、追加機能とリソースのために有料プランにアップグレードするかどうかを決めることができます。

Latenode とは?

Latenode は、顧客が自動化を通じてワークフローを合理化できるようにするために設計された、目に見える直感的な自動化ツールです。それは、顧客が義務を自動化し、うまく生産性を飾ることを許可し、多様なインターネット-オファリングとガジェットを接続することにより、コンピュータ化された戦略を作成することができます。

Latenode 、どのようにチャンスを最大化するのか?

Latenode 、データ統合によってすべてのマーケティングツールを1か所に統合することで、業務を包括的に把握することができます。これにより、潜在的な機会をより簡単に特定し、正確なデータに基づいて情報に基づいた意思決定を行うことができます。