Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.
Connect your Migma account to @MigmaAIBot, then message Migma to import a brand, design emails, set up a sending domain, import an audience, create a campaign, and send or schedule it from Telegram.
Migma for Telegram illustration
Migma for Telegram is in beta. Use only @MigmaAIBot. The profile name should be MigmaAI.
Before you start
You need:
A Migma account
A Telegram account
Access to the Migma account you want Telegram to use
Connect Telegram in four steps
1
Open the Migma bot
Go to t.me/MigmaAIBot and select Start Bot. In the Telegram app, press Start and send a message.
The official profile shows MigmaAI and @MigmaAIBot
2
Open the connection page
If your account is not linked, the bot replies with Connect Migma. Select it.You can also open Settings → Integrations → Telegram in Migma, or go directly to migma.ai/telegram/connect.
Select Connect Migma in the bot reply
3
Confirm your Telegram account
Sign in to Migma if asked, then select Log in with Telegram. Approve the Telegram account you want to link.
Connect page with the signed-in Migma account hidden for privacy
4
Return to Telegram and test the bot
After Migma confirms the link, return to Telegram and send a new message:
Create 3 onboarding emails for Stripe
A reply confirms the bot can recognize your Telegram account and access the permitted Migma actions.
Migma replies with previews and an Open in Migma button
Linking does not replay the message that opened the connection flow. Send a new message after returning to Telegram.
What Migma can access
Telegram confirms your account id and username so Migma can recognize you. Migma processes messages, captions, and images you send directly to the bot, plus group messages that mention the bot. It does not access unrelated chats or your contacts.Migma keeps recent bot-thread context so follow-up requests such as Make it shorter can refer to the email already discussed. One Telegram account links to one Migma account.
Never paste a Migma API key into Telegram. Use only the Connect Migma flow.
Direct messages and groups
For direct messages, send your request to @MigmaAIBot.For groups:
Add @MigmaAIBot to the group.
Mention @MigmaAIBot in each request.
Test the same request in a direct message first if the group gets no reply.
Messages without the bot mention are ignored in groups.When Migma needs a choice, such as which segment to target, it shows answer buttons. Tapping a button is the same as typing the answer. Only the person who asked can respond to those buttons.
Approve sends in chat
Before Migma sends or schedules a campaign, it posts a summary with the subject, audience, recipient count, sender, send time, and an inbox rendering score. Confirm with Send or Cancel, or reply in the chat. You approve every send. If you change the campaign after the summary appears, Migma shows a new summary before anything goes out.Migma posts in the same chat when a domain finishes connecting, an import finishes, or a send completes. Ask for opens and clicks when you want campaign results.
What you can ask
Ask
Result
List my brands
Shows brands available to your Migma account
Create 3 onboarding emails for Stripe
Prepares three branded emails with previews
Import our VIP list from Mailchimp and schedule a launch for tomorrow
Imports the audience, designs the email, and prepares a send summary
Make email 2 more formal
Edits one email in the current set
Show me welcome email inspiration
Finds relevant email examples on paid plans
Attach an image and say Make an email like this for Stripe
Prepares a branded email from the reference
Results can include preview images, DNS setup links, and download links. After the workflow-tools release, new account links approve access to Migma email, audience, campaign, domain, webhook and billing tools. Sending or scheduling requires a send summary and your confirmation in chat. Contact deletion and external changes also require approval. Billing checkouts are completed by you. Existing links keep their original scopes; disconnect and reconnect to review broader access.Example chat:
You: Import acme.com, pull our VIP list from Klaviyo, design a launch email, and send tomorrow at 9am EasternMigma: [Acme logo] Brand imported. [Email previews]. Klaviyo import started. [Domain DNS link]. Send summary… [Send] [Cancel]You: SendMigma: Scheduled for tomorrow 9:00 AM ET. I'll post here when the send finishes.
Audience exports and connected tools
After the release with these workflow tools is available, ask: Export unsubscribed contacts for my brand as CSV. The bot uses the shared Migma MCP catalog, starts an export, and checks the job for a private download link. Large exports may still be processing when a reply arrives; ask it to check status in the same thread.For store or CRM workflows, the bot discovers tools enabled on that brand and reads their argument schemas before calling them. Existing server permissions and approval settings still apply. Tools requiring dashboard approval remain blocked in chat until you review the tool’s permissions in Migma.A CSV export does not synchronize Shopify. Shopify storefront tools do not include customer marketing-consent updates; synchronization needs a connected tool with that access. The bot must report unsupported operations and provider failures instead of claiming completion.
Troubleshooting
The bot does not reply
Confirm the profile shows MigmaAI and @MigmaAIBot.
Press Start in Telegram.
Complete the connection using the intended Migma account.
If a direct message still gets no reply, email support@migma.ai.
Telegram connected to the wrong Migma account
Disconnect the Telegram link, sign in to the intended Migma account, then repeat the connection steps.
Disconnect Telegram
Send disconnect to @MigmaAIBot. You can also open Settings → Developers → API Keys in Migma and revoke the key named for your Telegram account.After disconnecting, the bot asks you to connect again on your next message.
Build your own Telegram bot
Use Migma’s agent auth or API if you need a separately hosted bot or custom workflow.
Agent Auth
Give a custom bot scoped access for each Migma user.
OpenClaw
Run Migma in Telegram, Slack, WhatsApp, or Discord through OpenClaw.
SDK
Generate emails, fetch HTML, and read preview URLs from code.
API reference
Review the public endpoints available to your bot.
Last modified on October 21, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MigmaAI","description":"Learn how to create, review, send, and automate on-brand email with Migma, including campaigns, integrations, AI agents, and the API.","colors":{"primary":"#E02020","light":"#FF6B6B","dark":"#E02020"},"logo":{"light":"https://mintcdn.com/migmaai/Ddo1c-hiaq_XaPm5/logo/light.svg?fit=max\u0026auto=format\u0026n=Ddo1c-hiaq_XaPm5\u0026q=85\u0026s=932530a76040b68fd513f05d0d75522e","dark":"https://mintcdn.com/migmaai/Ddo1c-hiaq_XaPm5/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ddo1c-hiaq_XaPm5\u0026q=85\u0026s=6fbca4044641719932190564e993c595","href":"https://migma.ai"},"favicon":"https://mintcdn.com/migmaai/6vIdVqfJZMkGpyl_/favicon.svg?fit=max\u0026auto=format\u0026n=6vIdVqfJZMkGpyl_\u0026q=85\u0026s=e5235d56cb1eaead4aa152c8dec7cdf7","api":{},"navbar":{"links":[{"href":"https://migma.ai/blog","label":"Blog","type":"link"},{"href":"https://docs.migma.ai/changelog","label":"Changelog","type":"link"}],"primary":{"type":"button","label":"Get started","href":"https://migma.ai"}},"footer":{"socials":{"twitter":"https://x.com/migma_ai","linkedin":"https://linkedin.com/company/migmaai"}},"search":{"prompt":"Search Migma documentation..."},"seo":{"metatags":{"canonical":"https://docs.migma.ai","author":"MigmaAI","robots":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1","googlebot":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1","language":"en","og:site_name":"MigmaAI","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@Migma_AI","twitter:creator":"@Migma_AI"},"organization":{"id":"https://migma.ai/#organization","name":"Migma","legalName":"MIGMAAI, INC.","url":"https://migma.ai","logo":"https://migma.ai/brandkit/cube/SVG/light.svg","sameAs":["https://x.com/migma_ai","https://www.linkedin.com/company/migmaai"]},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"interaction":{},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"migmaai","hasAudioNarration":false,"actualSubdomain":"migmaai","customDomains":["docs.migma.ai"],"gitSource":{"type":"github","owner":"migmaai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10b74e9ffae5051c40131c"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b12a1a5d76c2b77c9c1d5fa","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"API Reference","count":141},{"language":"default","tag":"API endpoints","count":132},{"language":"default","tag":"Changelog","count":97},{"language":"default","tag":"Human Guide","count":91},{"language":"default","tag":"Agents","count":25},{"language":"default","tag":"Emails","count":24},{"language":"default","tag":"Integrations","count":23},{"language":"default","tag":"August 2026","count":21},{"language":"default","tag":"Campaigns","count":18},{"language":"default","tag":"Domains","count":18}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@migma.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6933a922f4841d58f56e8063","deploymentId":"6863fe6abbd816413cd3a806","questionText":"How do I integrate with the API?","status":"active","generatedBy":"manual","createdAt":"2025-12-06T03:55:14.525Z","updatedAt":"2025-12-06T03:55:14.525Z","__v":0},{"_id":"6933a91ff4841d58f56e7fe6","deploymentId":"6863fe6abbd816413cd3a806","questionText":"Can I preview emails across devices?","status":"active","generatedBy":"manual","createdAt":"2025-12-06T03:55:11.220Z","updatedAt":"2025-12-06T03:55:11.220Z","__v":0},{"_id":"6933a919f4841d58f56e7eea","deploymentId":"6863fe6abbd816413cd3a806","questionText":"How do I create emails with AI?","status":"active","generatedBy":"manual","createdAt":"2025-12-06T03:55:05.785Z","updatedAt":"2025-12-06T03:55:05.785Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not(.dark),html:not(.dark) body{background-color:#ffffff!important}html:not(.dark) #navbar .nav-tabs :is(a,button){color:#3f3a3a!important;font-weight:600!important}html:not(.dark) #navbar .nav-tabs :is(a,button):hover{color:#201d1d!important}html:not(.dark) #sidebar-content .sidebar-title,html:not(.dark) #sidebar-content h3,html:not(.dark) #sidebar .sidebar-title,html:not(.dark) #sidebar h3{color:#211f22!important;font-weight:600!important}html:not(.dark) #sidebar-content :is(a,button):not(.text-primary),html:not(.dark) #sidebar :is(a,button):not(.text-primary){color:#3f3a3a!important;font-weight:500!important}html:not(.dark) #sidebar-content :is(a,button):not(.text-primary):hover,html:not(.dark) #sidebar :is(a,button):not(.text-primary):hover{color:#201d1d!important}html:not(.dark) #sidebar-content :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg,html:not(.dark) #sidebar :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg,html:not(.dark) aside :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg{color:#34343a!important;opacity:1!important}html:not(.dark) #sidebar-content :is(a,button) img,html:not(.dark) #sidebar :is(a,button) img,html:not(.dark) aside :is(a,button) img{opacity:1!important;filter:brightness(0.9) saturate(1.1) contrast(1.12)}html.dark,html.dark body{background-color:#0e0b0d!important}html.dark #navbar .nav-tabs :is(a,button){color:#d4d4d8!important;font-weight:600!important}html.dark #navbar .nav-tabs :is(a,button):hover{color:#f9f9f9!important}html.dark #sidebar-content .sidebar-title,html.dark #sidebar-content h3,html.dark #sidebar .sidebar-title,html.dark #sidebar h3{color:#f9f9f9!important;font-weight:600!important}html.dark #sidebar-content :is(a,button):not(.text-primary),html.dark #sidebar :is(a,button):not(.text-primary){color:#a1a1aa!important;font-weight:500!important}html.dark #sidebar-content :is(a,button):not(.text-primary):hover,html.dark #sidebar :is(a,button):not(.text-primary):hover{color:#f9f9f9!important}html.dark #sidebar-content :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg,html.dark #sidebar :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg,html.dark aside :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg{color:#a1a1aa!important;opacity:1!important}html.dark #sidebar-content :is(a,button) img,html.dark #sidebar :is(a,button) img,html.dark aside :is(a,button) img{opacity:1!important;filter:brightness(1.05) saturate(1.05)}html:not(.dark) #sidebar-content :is(a,button).text-primary,html:not(.dark) #sidebar :is(a,button).text-primary{color:#e02020!important;font-weight:600!important}html.dark #sidebar-content :is(a,button).text-primary,html.dark #sidebar :is(a,button).text-primary{color:#ff6b6b!important;font-weight:600!important}#sidebar-content :is(a,button)[aria-current=\"page\"] svg,#sidebar :is(a,button)[aria-current=\"page\"] svg,aside :is(a,button)[aria-current=\"page\"] svg,#sidebar-content :is(a,button).text-primary svg,#sidebar :is(a,button).text-primary svg,aside :is(a,button).text-primary svg{color:#e02020!important;opacity:1!important}html.dark #sidebar-content :is(a,button)[aria-current=\"page\"] svg,html.dark #sidebar :is(a,button)[aria-current=\"page\"] svg,html.dark aside :is(a,button)[aria-current=\"page\"] svg,html.dark #sidebar-content :is(a,button).text-primary svg,html.dark #sidebar :is(a,button).text-primary svg,html.dark aside :is(a,button).text-primary svg{color:#ff6b6b!important;opacity:1!important}#content-area #content>span,#content-area #content li,#content-area #content table td,#content-area #content .steps .step p.mt-2{color:#514b4b!important}html.dark #content-area #content>span,html.dark #content-area #content li,html.dark #content-area #content table td,html.dark #content-area #content .steps .step p.mt-2{color:#c7c1c1!important}html:not(.dark) #content-area a.group>span{color:#5f5858!important}html.dark #content-area a.group>span{color:#918989!important}"}]}
{"page":{"pagePath":"integrations/telegram","slug":"/integrations/telegram","pageMetadata":{"title":"Connect Migma to Telegram","description":"Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.","icon":"/images/logos/telegram.svg","href":"/integrations/telegram"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Connect your Migma account to `,_jsx(_components.a,{href:`https://t.me/MigmaAIBot`,children:_jsx(_components.strong,{children:`@MigmaAIBot`})}),`, then message Migma to import a brand, design emails, set up a sending domain, import an audience, create a campaign, and send or schedule it from Telegram.`]}),`\n`,_jsx(Frame,{caption:`Migma for Telegram illustration`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/hero.webp?fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=a4f9c6b75fbeeff639fdb77199c7978d`,alt:`Illustration of Migma connected to Telegram above a List my brands prompt`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/telegram/hero.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/hero.webp?w=280\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=be065f37132f51273899878e5b5b1ed4 280w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/hero.webp?w=560\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=0483dd22bea3918beb1a96d174d1e21d 560w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/hero.webp?w=840\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=05df14a75e9850dbef414699422e52a6 840w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/hero.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=f963bb3b9d8dfc8ee61425dfad79ae19 1100w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/hero.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=6fbd6855a7c478b152d03a2d48ffcf77 1650w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/hero.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=4b2b5416dd2f5043c6f5017f2b64732a 2500w`})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Migma for Telegram is in beta. Use only `,_jsx(_components.strong,{children:`@MigmaAIBot`}),`. The profile name should be `,_jsx(_components.strong,{children:`MigmaAI`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsx(_components.p,{children:`You need:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A Migma account`}),`\n`,_jsx(_components.li,{children:`A Telegram account`}),`\n`,_jsx(_components.li,{children:`Access to the Migma account you want Telegram to use`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-telegram-in-four-steps`,children:`Connect Telegram in four steps`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open the Migma bot`,children:[_jsxs(_components.p,{children:[`Go to `,_jsx(_components.a,{href:`https://t.me/MigmaAIBot`,children:`t.me/MigmaAIBot`}),` and select `,_jsx(_components.strong,{children:`Start Bot`}),`. In the Telegram app, press `,_jsx(_components.strong,{children:`Start`}),` and send a message.`]}),_jsx(Frame,{caption:`The official profile shows MigmaAI and @MigmaAIBot`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/start-migma-bot.webp?fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=42ca741cd44584007e1cb27b8e2156ad`,alt:`Illustration of the official MigmaAI Telegram bot profile with the @MigmaAIBot handle and Start Bot button`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/telegram/start-migma-bot.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/start-migma-bot.webp?w=280\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=960991479189632344250d3ac18de753 280w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/start-migma-bot.webp?w=560\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=5ffa88d60c8cb54dda65d299623dc714 560w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/start-migma-bot.webp?w=840\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=63ba9b6a376451eae13a14609e2e3d80 840w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/start-migma-bot.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=3b1a61fcd2501c9ae1a8347c2b019253 1100w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/start-migma-bot.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=f5a345aa886f7b9093fefc651135e948 1650w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/start-migma-bot.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=46b5994c8be94f9c74345d6f95727997 2500w`})})]}),_jsxs(Step,{title:`Open the connection page`,children:[_jsxs(_components.p,{children:[`If your account is not linked, the bot replies with `,_jsx(_components.strong,{children:`Connect Migma`}),`. Select it.`]}),_jsxs(_components.p,{children:[`You can also open `,_jsx(_components.strong,{children:`Settings → Integrations → Telegram`}),` in Migma, or go directly to `,_jsx(_components.a,{href:`https://migma.ai/telegram/connect`,children:`migma.ai/telegram/connect`}),`.`]}),_jsx(Frame,{caption:`Select Connect Migma in the bot reply`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/connect-migma-button.webp?fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=1aa11031d855b85cb6c7590af6ef434d`,alt:`Illustration of a Telegram chat with MigmaAI and a Connect Migma button`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/telegram/connect-migma-button.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/connect-migma-button.webp?w=280\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=cb0ac4f247e4678fdd1c40b84607670a 280w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/connect-migma-button.webp?w=560\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=0becc5a2b620c2cc252d1ab864e33386 560w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/connect-migma-button.webp?w=840\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=8312c42aeaedf66f41c4d93f8ac77d25 840w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/connect-migma-button.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=2c244164e1304ba7b2b141a4b2ee02c8 1100w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/connect-migma-button.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=9f2105d78d3aff167f47fd87b742d4d0 1650w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/connect-migma-button.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=7383bf91303291eb4f632bde70a89c3c 2500w`})})]}),_jsxs(Step,{title:`Confirm your Telegram account`,children:[_jsxs(_components.p,{children:[`Sign in to Migma if asked, then select `,_jsx(_components.strong,{children:`Log in with Telegram`}),`. Approve the Telegram account you want to link.`]}),_jsx(Frame,{caption:`Connect page with the signed-in Migma account hidden for privacy`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/log-in-with-telegram.webp?fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=db2b60fc023fc0503e4e0c5f3eef223c`,alt:`Illustration of the Migma Telegram connection page with the Log in with Telegram button`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/telegram/log-in-with-telegram.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/log-in-with-telegram.webp?w=280\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=b6cc994ab9397ac01ef23321b1f82f54 280w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/log-in-with-telegram.webp?w=560\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=5abfb8264ed848e7505084cfa6196fe9 560w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/log-in-with-telegram.webp?w=840\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=1e82166c26f3a712246238549ea27783 840w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/log-in-with-telegram.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=b170ac4c1dce40736b860e3a3528db40 1100w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/log-in-with-telegram.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=00cba58582345895d7fb9c425a72addc 1650w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/log-in-with-telegram.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=62e03817efac1837e00a6136cb277ab8 2500w`})})]}),_jsxs(Step,{title:`Return to Telegram and test the bot`,children:[_jsx(_components.p,{children:`After Migma confirms the link, return to Telegram and send a new message:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create 3 onboarding emails for Stripe`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`A reply confirms the bot can recognize your Telegram account and access the permitted Migma actions.`}),_jsx(Frame,{caption:`Migma replies with previews and an Open in Migma button`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/telegram-email-result.webp?fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=cf33290daffd366e976459b51253daa3`,alt:`Illustration of MigmaAI returning three Stripe onboarding email drafts in Telegram`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/telegram/telegram-email-result.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/telegram-email-result.webp?w=280\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=6f9d5c8aeec7ece6eab336a618c86181 280w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/telegram-email-result.webp?w=560\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=e6a6d2e85b71c46ce69803d71b7e515b 560w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/telegram-email-result.webp?w=840\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=c3281335effa71801115370e4edc4e0d 840w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/telegram-email-result.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=dddce16e6dce5fc9389013a0b44e1dcd 1100w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/telegram-email-result.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=393f669535339dfa130a52dd33ea4997 1650w, https://mintcdn.com/migmaai/sn1KJEL30GygcGBv/images/tutorials/telegram/telegram-email-result.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=sn1KJEL30GygcGBv\u0026q=85\u0026s=263d37588782f603ab1abbebb8770ec9 2500w`})})]})]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Linking does not replay the message that opened the connection flow. Send a new message after returning to Telegram.`})}),`\n`,_jsx(Heading,{level:`2`,id:`what-migma-can-access`,children:`What Migma can access`}),`\n`,_jsx(_components.p,{children:`Telegram confirms your account id and username so Migma can recognize you. Migma processes messages, captions, and images you send directly to the bot, plus group messages that mention the bot. It does not access unrelated chats or your contacts.`}),`\n`,_jsxs(_components.p,{children:[`Migma keeps recent bot-thread context so follow-up requests such as `,_jsx(_components.code,{children:`Make it shorter`}),` can refer to the email already discussed. One Telegram account links to one Migma account.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Never paste a Migma API key into Telegram. Use only the `,_jsx(_components.strong,{children:`Connect Migma`}),` flow.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`direct-messages-and-groups`,children:`Direct messages and groups`}),`\n`,_jsxs(_components.p,{children:[`For direct messages, send your request to `,_jsx(_components.a,{href:`https://t.me/MigmaAIBot`,children:`@MigmaAIBot`}),`.`]}),`\n`,_jsx(_components.p,{children:`For groups:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Add `,_jsx(_components.strong,{children:`@MigmaAIBot`}),` to the group.`]}),`\n`,_jsxs(_components.li,{children:[`Mention `,_jsx(_components.code,{children:`@MigmaAIBot`}),` in each request.`]}),`\n`,_jsx(_components.li,{children:`Test the same request in a direct message first if the group gets no reply.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Messages without the bot mention are ignored in groups.`}),`\n`,_jsx(_components.p,{children:`When Migma needs a choice, such as which segment to target, it shows answer buttons. Tapping a button is the same as typing the answer. Only the person who asked can respond to those buttons.`}),`\n`,_jsx(Heading,{level:`2`,id:`approve-sends-in-chat`,children:`Approve sends in chat`}),`\n`,_jsxs(_components.p,{children:[`Before Migma sends or schedules a campaign, it posts a summary with the subject, audience, recipient count, sender, send time, and an inbox rendering score. Confirm with `,_jsx(_components.strong,{children:`Send`}),` or `,_jsx(_components.strong,{children:`Cancel`}),`, or reply in the chat. You approve every send. If you change the campaign after the summary appears, Migma shows a new summary before anything goes out.`]}),`\n`,_jsx(_components.p,{children:`Migma posts in the same chat when a domain finishes connecting, an import finishes, or a send completes. Ask for opens and clicks when you want campaign results.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-can-ask`,children:`What you can ask`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Ask`}),_jsx(_components.th,{children:`Result`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`List my brands`})}),_jsx(_components.td,{children:`Shows brands available to your Migma account`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Create 3 onboarding emails for Stripe`})}),_jsx(_components.td,{children:`Prepares three branded emails with previews`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Import our VIP list from Mailchimp and schedule a launch for tomorrow`})}),_jsx(_components.td,{children:`Imports the audience, designs the email, and prepares a send summary`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Make email 2 more formal`})}),_jsx(_components.td,{children:`Edits one email in the current set`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Show me welcome email inspiration`})}),_jsx(_components.td,{children:`Finds relevant email examples on paid plans`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Attach an image and say `,_jsx(_components.code,{children:`Make an email like this for Stripe`})]}),_jsx(_components.td,{children:`Prepares a branded email from the reference`})]})]})]}),`\n`,_jsx(_components.p,{children:`Results can include preview images, DNS setup links, and download links. After the workflow-tools release, new account links approve access to Migma email, audience, campaign, domain, webhook and billing tools. Sending or scheduling requires a send summary and your confirmation in chat. Contact deletion and external changes also require approval. Billing checkouts are completed by you. Existing links keep their original scopes; disconnect and reconnect to review broader access.`}),`\n`,_jsx(_components.p,{children:`Example chat:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: Import acme.com, pull our VIP list from Klaviyo, design a launch email, and send tomorrow at 9am Eastern`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Migma: [Acme logo] Brand imported. [Email previews]. Klaviyo import started. [Domain DNS link]. Send summary… [Send] [Cancel]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: Send`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Migma: Scheduled for tomorrow 9:00 AM ET. I'll post here when the send finishes.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`audience-exports-and-connected-tools`,children:`Audience exports and connected tools`}),`\n`,_jsxs(_components.p,{children:[`After the release with these workflow tools is available, ask: `,_jsx(_components.code,{children:`Export unsubscribed contacts for my brand as CSV`}),`. The bot uses the shared Migma MCP catalog, starts an export, and checks the job for a private download link. Large exports may still be processing when a reply arrives; ask it to check status in the same thread.`]}),`\n`,_jsx(_components.p,{children:`For store or CRM workflows, the bot discovers tools enabled on that brand and reads their argument schemas before calling them. Existing server permissions and approval settings still apply. Tools requiring dashboard approval remain blocked in chat until you review the tool’s permissions in Migma.`}),`\n`,_jsx(_components.p,{children:`A CSV export does not synchronize Shopify. Shopify storefront tools do not include customer marketing-consent updates; synchronization needs a connected tool with that access. The bot must report unsupported operations and provider failures instead of claiming completion.`}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Heading,{level:`3`,id:`the-bot-does-not-reply`,children:`The bot does not reply`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Confirm the profile shows `,_jsx(_components.strong,{children:`MigmaAI`}),` and `,_jsx(_components.strong,{children:`@MigmaAIBot`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Press `,_jsx(_components.strong,{children:`Start`}),` in Telegram.`]}),`\n`,_jsx(_components.li,{children:`Complete the connection using the intended Migma account.`}),`\n`,_jsx(_components.li,{children:`Return to Telegram and send a new direct message.`}),`\n`,_jsxs(_components.li,{children:[`In a group, mention `,_jsx(_components.code,{children:`@MigmaAIBot`}),` exactly.`]}),`\n`,_jsxs(_components.li,{children:[`Reopen `,_jsx(_components.a,{href:`https://migma.ai/telegram/connect`,children:`migma.ai/telegram/connect`}),` and connect again.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If a direct message still gets no reply, email `,_jsx(_components.a,{href:`mailto:support@migma.ai`,children:`support@migma.ai`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`telegram-connected-to-the-wrong-migma-account`,children:`Telegram connected to the wrong Migma account`}),`\n`,_jsx(_components.p,{children:`Disconnect the Telegram link, sign in to the intended Migma account, then repeat the connection steps.`}),`\n`,_jsx(Heading,{level:`2`,id:`disconnect-telegram`,children:`Disconnect Telegram`}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`disconnect`}),` to `,_jsx(_components.strong,{children:`@MigmaAIBot`}),`. You can also open `,_jsx(_components.strong,{children:`Settings → Developers → API Keys`}),` in Migma and revoke the key named for your Telegram account.`]}),`\n`,_jsx(_components.p,{children:`After disconnecting, the bot asks you to connect again on your next message.`}),`\n`,_jsx(Heading,{level:`2`,id:`build-your-own-telegram-bot`,children:`Build your own Telegram bot`}),`\n`,_jsx(_components.p,{children:`Use Migma’s agent auth or API if you need a separately hosted bot or custom workflow.`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Agent Auth`,icon:`key`,href:`/agent-auth`,children:_jsx(_components.p,{children:`Give a custom bot scoped access for each Migma user.`})}),_jsx(Card,{title:`OpenClaw`,icon:`lobster`,href:`/openclaw`,children:_jsx(_components.p,{children:`Run Migma in Telegram, Slack, WhatsApp, or Discord through OpenClaw.`})}),_jsx(Card,{title:`SDK`,icon:`https://mintcdn.com/migmaai/kT6TJgF40rDP8_qB/images/logos/npm.svg?fit=max\u0026auto=format\u0026n=kT6TJgF40rDP8_qB\u0026q=85\u0026s=1839361b0494d7d3199cdaa3575846ac`,href:`/sdk`,\"data-og-width\":`24`,width:`24`,\"data-og-height\":`24`,height:`24`,\"data-path\":`images/logos/npm.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/kT6TJgF40rDP8_qB/images/logos/npm.svg?w=280\u0026fit=max\u0026auto=format\u0026n=kT6TJgF40rDP8_qB\u0026q=85\u0026s=a6a53cc37bd66ad56ea93b2d85b1cdd7 280w, https://mintcdn.com/migmaai/kT6TJgF40rDP8_qB/images/logos/npm.svg?w=560\u0026fit=max\u0026auto=format\u0026n=kT6TJgF40rDP8_qB\u0026q=85\u0026s=d093697095f2804e11f83153a810fd02 560w, https://mintcdn.com/migmaai/kT6TJgF40rDP8_qB/images/logos/npm.svg?w=840\u0026fit=max\u0026auto=format\u0026n=kT6TJgF40rDP8_qB\u0026q=85\u0026s=de88fe7c466278435e8b80ae0648098f 840w, https://mintcdn.com/migmaai/kT6TJgF40rDP8_qB/images/logos/npm.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=kT6TJgF40rDP8_qB\u0026q=85\u0026s=95e1decf72d3518d2412b0635cad2514 1100w, https://mintcdn.com/migmaai/kT6TJgF40rDP8_qB/images/logos/npm.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=kT6TJgF40rDP8_qB\u0026q=85\u0026s=e2319bb0e1a384aefcb3ab2e3d4c590e 1650w, https://mintcdn.com/migmaai/kT6TJgF40rDP8_qB/images/logos/npm.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=kT6TJgF40rDP8_qB\u0026q=85\u0026s=3ac2bcf4a8588f42b6e14d912dfd18aa 2500w`,children:_jsx(_components.p,{children:`Generate emails, fetch HTML, and read preview URLs from code.`})}),_jsx(Card,{title:`API reference`,icon:`code`,href:`/api-reference/introduction`,children:_jsx(_components.p,{children:`Review the public endpoints available to your bot.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Connect Migma to Telegram","description":"Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.","icon":"/images/logos/telegram.svg","href":"/integrations/telegram"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Connect Telegram in four steps","slug":"connect-telegram-in-four-steps","depth":2,"children":[]},{"title":"What Migma can access","slug":"what-migma-can-access","depth":2,"children":[]},{"title":"Direct messages and groups","slug":"direct-messages-and-groups","depth":2,"children":[]},{"title":"Approve sends in chat","slug":"approve-sends-in-chat","depth":2,"children":[]},{"title":"What you can ask","slug":"what-you-can-ask","depth":2,"children":[]},{"title":"Audience exports and connected tools","slug":"audience-exports-and-connected-tools","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"The bot does not reply","slug":"the-bot-does-not-reply","depth":3,"children":[]},{"title":"Telegram connected to the wrong Migma account","slug":"telegram-connected-to-the-wrong-migma-account","depth":3,"children":[]}]},{"title":"Disconnect Telegram","slug":"disconnect-telegram","depth":2,"children":[]},{"title":"Build your own Telegram bot","slug":"build-your-own-telegram-bot","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/migmaai/a5e69fc95e43b27a/title-format.js"],"subdomain":"migmaai","siteName":"MigmaAI","title":"Connect Migma to Telegram - MigmaAI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T13:07:52.736Z","gitLastModified":"2026-10-21T22:39:06.000Z","originalFileLocation":"integrations/telegram.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MigmaAI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect Migma to Telegram - MigmaAI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MigmaAI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.migma.ai/integrations/telegram\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://migmaai.mintlify.site/_mintlify/api/og/v2?division=Data+Sources+%26+Tools\u0026amp;title=Connect+Migma+to+Telegram\u0026amp;description=Connect+your+Migma+account+to+%40MigmaAIBot%2C+then+run+brand+setup%2C+email+design%2C+audience+imports%2C+domain+setup%2C+and+campaign+sends+from+Telegram.\u0026amp;theme=06502603a55a3de43a719703\u0026amp;signature=06c5f757c1df5d2f865edd09e91fb09bdd57276ec3bc6d070e30dc42389e9ba8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Connect Migma to Telegram - MigmaAI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://migmaai.mintlify.site/_mintlify/api/og/v2?division=Data+Sources+%26+Tools\u0026amp;title=Connect+Migma+to+Telegram\u0026amp;description=Connect+your+Migma+account+to+%40MigmaAIBot%2C+then+run+brand+setup%2C+email+design%2C+audience+imports%2C+domain+setup%2C+and+campaign+sends+from+Telegram.\u0026amp;theme=06502603a55a3de43a719703\u0026amp;signature=06c5f757c1df5d2f865edd09e91fb09bdd57276ec3bc6d070e30dc42389e9ba8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MigmaAI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E02020\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"MigmaAI\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@Migma_AI\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.migma.ai/integrations/telegram\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/telegram.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://migma.ai/#organization\",\"name\":\"Migma\",\"legalName\":\"MIGMAAI, INC.\",\"url\":\"https://migma.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://migma.ai/brandkit/cube/SVG/light.svg\"},\"sameAs\":[\"https://x.com/migma_ai\",\"https://www.linkedin.com/company/migmaai\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.migma.ai#website\",\"name\":\"MigmaAI\",\"url\":\"https://docs.migma.ai\",\"publisher\":{\"@id\":\"https://migma.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.migma.ai/integrations/telegram#webpage\",\"url\":\"https://docs.migma.ai/integrations/telegram\",\"name\":\"Connect Migma to Telegram\",\"description\":\"Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.\",\"dateModified\":\"2026-10-21T22:39:06.000Z\",\"isPartOf\":{\"@id\":\"https://docs.migma.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.migma.ai/integrations/telegram#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.migma.ai/integrations/telegram#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Data Sources \u0026 Tools\",\"item\":\"https://docs.migma.ai/integrations/shopify\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect Migma to Telegram\",\"item\":\"https://docs.migma.ai/integrations/telegram\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.migma.ai/integrations/telegram#article\",\"headline\":\"Connect Migma to Telegram\",\"name\":\"Connect Migma to Telegram\",\"description\":\"Connect your Migma account to @MigmaAIBot, then run brand setup, email design, audience imports, domain setup, and campaign sends from Telegram.\",\"url\":\"https://docs.migma.ai/integrations/telegram\",\"mainEntityOfPage\":{\"@id\":\"https://docs.migma.ai/integrations/telegram#webpage\"},\"dateModified\":\"2026-10-21T22:39:06.000Z\",\"publisher\":{\"@id\":\"https://migma.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.migma.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MigmaAI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Migma\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integrations/telegram.md","siteName":"MigmaAI","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Human Guide","icon":"book-open","pages":[{"title":"Human Guide","href":"/get-started/what-is-migma"}]},{"tab":"Integrations","icon":"puzzle-piece","groups":[{"group":"Getting Started","pages":[{"title":"Migma Email Platform Integrations","sidebarTitle":"Overview","icon":"puzzle-piece","href":"/integrations/overview"},{"title":"Platform Integrations","icon":"puzzle-piece","href":"/integrations/platform-integrations"}]},{"group":"AI Assistants","pages":[{"title":"Use Migma with Claude Code and Desktop","sidebarTitle":"Claude tutorial","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/claude-code.png","href":"/tutorials/connect-migma-to-claude-code"},{"title":"Use Migma with ChatGPT","sidebarTitle":"ChatGPT tutorial","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/chatgpt.png","href":"/tutorials/connect-migma-to-chatgpt"}]},{"group":"Import Designs","pages":[{"title":"Figma Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/figma.svg","href":"/integrations/figma"}]},{"group":"Export \u0026 Campaigns","pages":[{"title":"Mailchimp Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/mailchimp.svg","href":"/integrations/mailchimp"},{"title":"Klaviyo Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/klaviyo.png","href":"/integrations/klaviyo"},{"title":"HubSpot Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/hubspot.svg","href":"/integrations/hubspot"},{"title":"Omnisend Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/omnisend.png","href":"/integrations/omnisend"},{"title":"Brevo Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/brevo.svg","href":"/integrations/brevo"},{"title":"Send or Export Migma Emails","sidebarTitle":"Export Options","icon":"download","href":"/email-editor/export-options"}]},{"group":"Sending Providers","pages":[{"title":"Email Service Providers","sidebarTitle":"Overview","icon":"envelope","href":"/integrations/email-service-providers"},{"title":"Amazon SES Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/amazon-ses.svg","href":"/integrations/amazon-ses"},{"title":"Resend Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/resend.svg","href":"/integrations/resend"},{"title":"SendGrid Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/sendgrid.png","href":"/integrations/sendgrid"},{"title":"Mailgun Integration","icon":"envelope","href":"/integrations/mailgun"},{"title":"Set Up Sending Domains in Migma","sidebarTitle":"Sending Domains","icon":"globe","href":"/sending-domains/overview"}]},{"group":"Data Sources \u0026 Tools","pages":[{"title":"Shopify Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/shopify.svg","href":"/integrations/shopify"},{"title":"Stripe Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/stripe.png","href":"/integrations/stripe"},{"title":"Migma for Slack","description":"Install Migma in Slack, link your account, and run brand setup, email design, audience imports, domain setup, and campaign sends from a DM or channel thread.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/slack.png","href":"/integrations/slack"},{"title":"Connect Migma to Telegram","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/telegram.svg","href":"/integrations/telegram"},{"title":"External MCP Servers","sidebarTitle":"External MCP","description":"Connect approved external MCP servers so Migma can use tool and data context from other systems while preparing email drafts for human review.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/mcp-server.svg","href":"/integrations/mcp-servers"},{"title":"Connect AI Agents with the Migma MCP Server","sidebarTitle":"MCP Server","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/migma-cube.png","href":"/mcp-server"},{"title":"Automate Migma with n8n","sidebarTitle":"n8n Integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/n8n.svg","href":"/n8n"},{"title":"Events \u0026 Webhooks","icon":"bell","href":"/webhooks"},{"title":"Track Customer Events with the Migma API","sidebarTitle":"Events","icon":"bolt","href":"/events"}]}]},{"tab":"Agents","icon":"microchip","pages":[{"title":"Agents","href":"/agents/overview"}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Legal","icon":"scale-balanced","pages":[{"title":"Legal","href":"/legal/acceptable-use"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Connect Migma to Telegram - MigmaAI","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["07c022d89b","a74be98ba7","a9bb46feb3"],"chunks":["Frame-Dt3ifMRv.js","DynamicMarkdown-Dgh_e4rL.js","zoom-image-lightbox-DJOZ-2Ph.js","lightbox-handle-r17bVUz3.js","Markdown-CR8c2fXT.js","AssistantPageLink-BBR7elHb.js","dist-DjFwSv8l.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}