DocsTelegram IntegrationAll docs

INTEGRATION

Telegram Integration

Link your Telegram account and message the ForLoop assistant.

Telegram Integration

This document explains how to add, use, and remove the ForLoop Telegram integration.

What This Integration Does

ForLoop connects with Telegram so you can message the ForLoop assistant from Telegram and receive responses back in the same chat.

Features:

  • Chat with ForLoop: Send messages to the ForLoop bot from any Telegram chat
  • Same-thread responses: Get replies back in the same conversation
  • Sprint commands: Query sprint status, get summaries, and more
  • Async-friendly: Long-running requests show acknowledgment first, then results
  • No app switching: Stay in Telegram while accessing ForLoop features

Prerequisites

Required:

  • A ForLoop account
  • Access to Telegram (desktop or mobile app)

Optional:

  • Active sprint membership (to query sprint data)
  1. Sign in to ForLoop
  2. Open User Settings: Click your avatar → Profile
  3. Go to Integrations tab: Click the Integrations tab
  4. Find Telegram section: Locate the Telegram Integration card
  5. Generate Link Code: Click the Generate Link Code button
  6. Copy the code: A unique code appears (e.g., abc123xyz)

Step 2: Open the ForLoop Bot

Option A: Click "Open Bot" button

  1. After generating the code, click Open Bot
  2. Telegram opens (desktop app or web)
  3. The ForLoop bot chat appears

Option B: Search manually

  1. Open Telegram
  2. Search for @ForLoop_cc_bot (or the bot username shown in ForLoop)
  3. Start a chat with the bot
  1. In the Telegram bot chat, type the link command:

    /link abc123xyz
    

    Replace abc123xyz with your actual code.

  2. Send the message

  3. Wait for confirmation: The bot replies:

    ✅ Your ForLoop account has been linked successfully!
    

Expected Result

After linking:

  • Bot confirms your account is linked
  • You can now use ForLoop commands
  • Your Telegram account is mapped to your ForLoop user

"Invalid code" error:

  • Ensure you copied the code exactly
  • Codes are case-sensitive
  • Generate a new code if expired

Bot not found:

  • Check the bot username in ForLoop
  • Try searching @ForLoop_cc_bot
  • Verify you're using Telegram (not Telegram X or other variants)

No response from bot:

  • Check your internet connection
  • Ensure Telegram is not blocked in your region
  • Try restarting Telegram

Using the Integration

Basic Usage

Step-by-step:

  1. Open your chat with the ForLoop bot in Telegram
  2. Send a message describing what you want
  3. Wait for response: The bot processes and replies

Example messages:

Summarize my current sprint
What tasks are assigned to me?
Show me the status of story #42

Response Behavior

For quick requests:

  • Bot responds immediately with the answer
  • Response appears in the same chat

For long-running requests:

  1. Bot sends acknowledgment first:
    👍 Got it! Working on your request...
    
  2. Bot processes in the background
  3. Bot sends complete response when ready:
    Here's your sprint summary:
    [Full response with formatting]
    

Available Commands

General queries:

  • Help — List available commands
  • Status — Show your account status
  • Sprints — List your active sprints

Sprint-specific:

  • Summarize sprint [name or ID] — Get sprint summary
  • Tasks for [user] — Show assigned tasks
  • Story #[ID] — Get story details
  • Bugs — List open bugs

Meeting-related:

  • Meetings today — Show today's meetings
  • Meeting #[ID] status — Get meeting RSVP status

Formatting

The bot uses Markdown formatting for readability:

  • Bold for emphasis
  • Code blocks for technical content
  • Lists for multiple items
  • Links for deep references

Managing the Integration

In ForLoop:

  1. Go to Profile → Integrations
  2. Find Telegram section
  3. Status shows:
    • Linked: Shows linked Telegram chat ID
    • Not linked: Shows link button

In Telegram:

  1. Send /status to the bot
  2. Bot shows your account status

To disconnect:

  1. In ForLoop, go to Profile → Integrations
  2. Find Telegram section
  3. Click Unlink
  4. Confirm the action

Expected result:

  • ForLoop shows Telegram as "Not linked"
  • Bot no longer responds to your commands
  • You can re-link anytime with a new code

To unlink from Telegram:

  • Send /unlink to the bot
  • Bot confirms disconnection

Re-linking

To link a different ForLoop account:

  1. Unlink the current account
  2. Generate a new code from the new ForLoop account
  3. Send /link <new-code> to the bot

Privacy and Security

What ForLoop Sees

When linked:

  • Your Telegram user ID
  • Your Telegram username
  • Messages sent to the bot
  • Chat history with the bot

What ForLoop Doesn't See:

  • Your other Telegram chats
  • Your contact list
  • Messages to other bots
  • Personal Telegram data

Data Storage

Stored securely:

  • Telegram user ID (for identification)
  • Link mapping (Telegram ↔ ForLoop account)
  • Chat history for context

Not stored:

  • Raw message content (processed and discarded)
  • Media files from Telegram
  • Other user data

Revoking Access

To fully revoke ForLoop's access:

  1. Unlink in ForLoop (Profile → Integrations → Unlink)
  2. Block the bot in Telegram (bot profile → Block)
  3. Delete chat history (optional)
  4. Contact support for data deletion requests

Troubleshooting

Common Issues

"Link command not working"

  • Cause: Incorrect format or expired code
  • Solution:
    1. Ensure format is exactly /link <code>
    2. Use the latest generated code
    3. No spaces between /link and code
    4. Generate a fresh code if needed

"No bot replies"

  • Cause: Not linked or service issue
  • Solution:
    1. Check link status in ForLoop
    2. Send /status to verify
    3. Re-link if necessary
    4. Check ForLoop service status

"Command not recognized"

  • Cause: Invalid command syntax
  • Solution:
    1. Use natural language instead
    2. Send Help for command list
    3. Be specific in your requests

"Request timeout"

  • Cause: Long processing or network issue
  • Solution:
    1. Wait for acknowledgment message
    2. Bot will respond when ready
    3. Try again if no response after 5 minutes

Advanced Troubleshooting

Bot not responding to any messages:

  1. Check if account is linked
  2. Verify ForLoop account is active
  3. Check sprint access permissions
  4. Contact support if issue persists

Incorrect data in responses:

  1. Verify you're querying the right sprint
  2. Check your permissions in the sprint
  3. Ensure data exists in ForLoop
  4. Report discrepancies to support

FAQ

Can I use multiple Telegram accounts?

Yes, but each Telegram account can only be linked to one ForLoop account at a time. To switch:

  1. Unlink current account
  2. Link new account with fresh code

Does the bot work in group chats?

Currently, the bot responds only in direct messages. Group chat support is planned for a future release.

Is my data encrypted?

Yes. Telegram uses MTProto encryption for all messages. ForLoop processes messages securely and doesn't store sensitive data.

Can I use the bot without linking?

Limited functionality is available without linking (basic help commands), but sprint queries require a linked account.

What languages are supported?

The bot primarily responds in English. Other language support is limited — try simple, clear prompts for best results.

How do I report a bug?

Email support@forloop.cc with:

  • Description of the issue
  • Steps to reproduce
  • Expected vs actual behavior
  • Screenshots if applicable

Support

  • Support: support@forloop.cc
  • Hours: Mon–Fri 9:00–18:00 HKT (UTC+8)
  • First response SLA: Within 24 hours
  • Bot issues: Include your Telegram username when contacting support