[{"data":1,"prerenderedAt":234},["ShallowReactive",2],{"docs-page-\u002Fdocs\u002Fb418-tg-cf7\u002Fconnections":3,"docs-navigation":200},{"id":4,"title":5,"body":6,"description":192,"extension":193,"meta":194,"navigation":195,"path":196,"seo":197,"stem":198,"__hash__":199},"docs\u002Fdocs\u002Fb418-tg-cf7\u002F3.connections.md","Connections & routing",{"type":7,"value":8,"toc":183},"minimark",[9,13,40,45,56,88,95,99,102,132,136,143,147,150,161,165,172],[10,11,5],"h1",{"id":12},"connections-routing",[14,15,16,17,21,22,26,27,26,30,33,34,39],"p",{},"A ",[18,19,20],"strong",{},"connection"," is a routing rule: ",[23,24,25],"em",{},"this form"," → ",[23,28,29],{},"this bot",[23,31,32],{},"these chats",", optionally with a ",[35,36,38],"a",{"href":37},"\u002Fdocs\u002Fb418-tg-cf7\u002Fmessage-templates","message template",". Connections are where everything comes together.",[41,42,44],"h2",{"id":43},"creating-a-connection","Creating a connection",[14,46,47,48,51,52,55],{},"In ",[18,49,50],{},"CF7 Telegram → Connections",", click ",[18,53,54],{},"Add connection"," and pick:",[57,58,59,66,72,78],"ul",{},[60,61,62,65],"li",{},[18,63,64],{},"Form"," — which Contact Form 7 form triggers the notification.",[60,67,68,71],{},[18,69,70],{},"Bot"," — which bot sends the message.",[60,73,74,77],{},[18,75,76],{},"Chats"," — one or more destinations. A single connection can notify any number of chats at once.",[60,79,80,83,84,87],{},[18,81,82],{},"Template"," ",[23,85,86],{},"(optional)"," — a custom message layout. Without one, a sensible default is used that lists the form title, site, date, and all submitted fields.",[14,89,90,91,94],{},"Connections can be ",[18,92,93],{},"enabled and disabled"," without deleting them — handy for pausing notifications during imports or testing.",[41,96,98],{"id":97},"routing-patterns","Routing patterns",[14,100,101],{},"Because any form can connect to any bot and any set of chats, common setups are all just combinations of connections:",[57,103,104,114,120,126],{},[60,105,106,109,110,113],{},[18,107,108],{},"One form → several chats"," — one connection with multiple chats, e.g. sales lead lands in the sales group ",[23,111,112],{},"and"," your private chat.",[60,115,116,119],{},[18,117,118],{},"Several forms → one chat"," — one connection per form, all pointing at the same chat.",[60,121,122,125],{},[18,123,124],{},"Different forms → different teams"," — support form to the support group, careers form to HR, each with its own template.",[60,127,128,131],{},[18,129,130],{},"Same form, different messages"," — two connections on the same form with different templates and chats (e.g. a full version for the team, a short ping for a channel).",[41,133,135],{"id":134},"testing-a-connection","Testing a connection",[14,137,138,139,142],{},"The ",[18,140,141],{},"Test"," action on a connection fires the entire pipeline with sample data: the template is rendered with placeholder field values and delivered to every chat in the connection. Use it to check formatting and routing before going live.",[41,144,146],{"id":145},"activity-log","Activity log",[14,148,149],{},"The dashboard shows a log of recent delivery attempts — form title, target chat, success or failure, and the error message Telegram returned when something went wrong (for example, a bot removed from the group or a wrong thread ID).",[14,151,152,153,160],{},"The log keeps the 50 most recent entries by default; developers can change this with the ",[35,154,156],{"href":155},"\u002Fdocs\u002Fb418-tg-cf7\u002Fhooks",[157,158,159],"code",{},"b418_wp_tg_cf7_log_max_entries"," filter.",[41,162,164],{"id":163},"reliability","Reliability",[14,166,167,168,171],{},"Telegram delivery runs ",[18,169,170],{},"alongside"," normal CF7 processing, never inside it:",[57,173,174,177,180],{},[60,175,176],{},"CF7 mail is sent exactly as before — the plugin doesn't touch it.",[60,178,179],{},"A Telegram outage or misconfigured chat never blocks or fails the form submission itself.",[60,181,182],{},"Failures are recorded in the activity log so you can spot and fix them.",{"title":184,"searchDepth":185,"depth":185,"links":186},"",2,[187,188,189,190,191],{"id":43,"depth":185,"text":44},{"id":97,"depth":185,"text":98},{"id":134,"depth":185,"text":135},{"id":145,"depth":185,"text":146},{"id":163,"depth":185,"text":164},"Route any Contact Form 7 form to any bot and any number of Telegram chats, test connections, and read the activity log.","md",{},true,"\u002Fdocs\u002Fb418-tg-cf7\u002Fconnections",{"title":5,"description":192},"docs\u002Fb418-tg-cf7\u002F3.connections","zQ6jyKFNxdpoNwJd2luZnfUP_TmvGhN9AcOQZB6GiME",[201],{"title":202,"path":203,"stem":204,"children":205},"Docs","\u002Fdocs","docs",[206,209],{"title":207,"path":203,"stem":208},"Overview","docs\u002Findex",{"title":210,"path":211,"stem":212,"children":213,"page":233},"Telegram for CF7","\u002Fdocs\u002Fb418-tg-cf7","docs\u002Fb418-tg-cf7",[214,218,222,223,226,229],{"title":215,"path":216,"stem":217},"Getting started","\u002Fdocs\u002Fb418-tg-cf7\u002Fgetting-started","docs\u002Fb418-tg-cf7\u002F1.getting-started",{"title":219,"path":220,"stem":221},"Bots & chats","\u002Fdocs\u002Fb418-tg-cf7\u002Fbots-and-chats","docs\u002Fb418-tg-cf7\u002F2.bots-and-chats",{"title":5,"path":196,"stem":198},{"title":224,"path":37,"stem":225},"Message templates","docs\u002Fb418-tg-cf7\u002F4.message-templates",{"title":227,"path":155,"stem":228},"Developer hooks","docs\u002Fb418-tg-cf7\u002F5.hooks",{"title":230,"path":231,"stem":232},"FAQ & troubleshooting","\u002Fdocs\u002Fb418-tg-cf7\u002Ffaq","docs\u002Fb418-tg-cf7\u002F6.faq",false,1784301861414]