[{"data":1,"prerenderedAt":3679},["ShallowReactive",2],{"docs-navigation":3,"content-query-bj1Yo1eBGE":297},[4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,169,172,175,178,181,184,187,190,193,196,199,202,205,208,211,214,217,220,223,226,229,232,235,238,240,243,246,249,252,255,258,261,264,267,270,273,276,279,282,285,288,291,294],{"_path":5,"title":6},"/docs/account/account-management","Account management",{"_path":8,"title":9},"/docs/account/mfa","Multi-factor authentication (MFA)",{"_path":11,"title":12},"/docs/account/team","Teams and sub-accounts",{"_path":14,"title":15},"/docs/account/billing-and-subscriptions","Billing & subscriptions",{"_path":17,"title":18},"/docs/clawhub","Webhook Relay on ClawHub",{"_path":20,"title":21},"/docs/email","Receive emails as webhooks",{"_path":23,"title":24},"/docs/email/payload","Email webhook payload",{"_path":26,"title":27},"/docs/email/filtering-and-policy","Sender filtering & policy",{"_path":29,"title":30},"/docs/email/cli","Create & poll email addresses from the CLI",{"_path":32,"title":33},"/docs","Getting Started",{"_path":35,"title":36},"/docs/installation/cli","CLI",{"_path":38,"title":39},"/docs/installation/docker","Docker container",{"_path":41,"title":42},"/docs/installation/docker-compose","Docker Compose",{"_path":44,"title":45},"/docs/installation/kubernetes","Kubernetes",{"_path":47,"title":48},"/docs/installation/autostart-windows","Autostart (Windows)",{"_path":50,"title":51},"/docs/installation/autostart-linux","Autostart (Linux)",{"_path":53,"title":54},"/docs/installation/autostart-macos","Autostart (MacOS)",{"_path":56,"title":57},"/docs/installation/behind-proxy","HTTP proxy configuration",{"_path":59,"title":60},"/docs/mcp","MCP Server",{"_path":62,"title":63},"/docs/security","Security & Tech",{"_path":65,"title":66},"/docs/service-connections","Service Connections",{"_path":68,"title":69},"/docs/service-connections/ai-providers","AI provider connections",{"_path":71,"title":72},"/docs/service-connections/aws_s3","AWS S3",{"_path":74,"title":75},"/docs/service-connections/aws_sns","AWS SNS",{"_path":77,"title":78},"/docs/service-connections/aws_sqs","AWS SQS",{"_path":80,"title":81},"/docs/service-connections/azure","Azure",{"_path":83,"title":84},"/docs/service-connections/gcp_gcs","GCP Cloud Storage",{"_path":86,"title":87},"/docs/service-connections/gcp_pubsub","GCP Pub/Sub",{"_path":89,"title":90},"/docs/service-connections/secrets","Secrets",{"_path":92,"title":93},"/docs/skills","Agent Skills",{"_path":95,"title":96},"/docs/skills-cli","skills.sh — the Agent Skills CLI",{"_path":98,"title":99},"/docs/tunnels/demoing-your-website","Demoing your website",{"_path":101,"title":102},"/docs/tunnels/regions","Regions",{"_path":104,"title":105},"/docs/tutorials/cicd/jenkins-bitbucket","Jenkins and Bitbucket",{"_path":107,"title":108},"/docs/tutorials/cicd/jenkins-github","Jenkins and GitHub",{"_path":110,"title":111},"/docs/tutorials/cicd/jenkins-plugin","Jenkins Plugin",{"_path":113,"title":114},"/docs/tutorials/cicd/jenkins-plugin-multibranch","Jenkins Multibranch Pipelines",{"_path":116,"title":117},"/docs/tutorials/cicd/kubernetes-operator","Kubernetes Operator",{"_path":119,"title":120},"/docs/tutorials/cicd/terraform-atlantis","Terraform Atlantis",{"_path":122,"title":123},"/docs/tutorials/cicd/webhook-exec","Execute scripts on webhook",{"_path":125,"title":126},"/docs/tutorials/edge/home-assistant","Home Assistant",{"_path":128,"title":129},"/docs/tutorials/edge/javascript-app","JavaScript app",{"_path":131,"title":132},"/docs/tutorials/edge/node-red","Node-RED",{"_path":134,"title":135},"/docs/tutorials/email/airtable","Email to Airtable",{"_path":137,"title":138},"/docs/tutorials/email/api","Email to API",{"_path":140,"title":141},"/docs/tutorials/email/database","Email to Database",{"_path":143,"title":144},"/docs/tutorials/email/discord","Email to Discord",{"_path":146,"title":147},"/docs/tutorials/email/google-sheets","Email to Google Sheets",{"_path":149,"title":150},"/docs/tutorials/email/microsoft-teams","Email to Microsoft Teams",{"_path":152,"title":153},"/docs/tutorials/email/notion","Email to Notion",{"_path":155,"title":156},"/docs/tutorials/email/slack","Email to Slack",{"_path":158,"title":159},"/docs/tutorials","Tutorials",{"_path":161,"title":162},"/docs/tutorials/n8n/email-trigger","n8n Email Trigger (Inbound Email)",{"_path":164,"title":165},"/docs/tutorials/n8n/webhook-trigger","n8n Webhook Trigger (No Public IP)",{"_path":167,"title":168},"/docs/tutorials/n8n/whatsapp-cloud-api-webhook","n8n WhatsApp Cloud API Webhook Setup",{"_path":170,"title":171},"/docs/tutorials/transform/docker-to-slack","DockerHub webhook to Slack notification",{"_path":173,"title":174},"/docs/tutorials/transform/enrich-webhooks","Enrich webhooks from APIs",{"_path":176,"title":177},"/docs/tutorials/warehouse/bigquery","GCP BigQuery",{"_path":179,"title":180},"/docs/webhooks/alerts","Alerts",{"_path":182,"title":183},"/docs/webhooks/auth/username-password","Username and password",{"_path":185,"title":186},"/docs/webhooks/auth/hmac","HMAC",{"_path":188,"title":189},"/docs/webhooks/auth/jwt","JWT authentication",{"_path":191,"title":192},"/docs/webhooks/auth/http-method","Auth using request method",{"_path":194,"title":195},"/docs/webhooks/cors","CORS for webhooks",{"_path":197,"title":198},"/docs/webhooks/cron/using-cron-webhooks","Schedule recurring webhooks",{"_path":200,"title":201},"/docs/webhooks/custom-domains","Custom webhook domains",{"_path":203,"title":204},"/docs/webhooks/custom-subdomains","Custom webhook subdomains",{"_path":206,"title":207},"/docs/webhooks/custom-webhook-response","Custom response to webhooks",{"_path":209,"title":210},"/docs/webhooks/durable-webhooks","Durable webhooks: reliable delivery with automatic retries",{"_path":212,"title":213},"/docs/webhooks/functions/manipulating-json","JSON encoding",{"_path":215,"title":216},"/docs/webhooks/functions/make-http-request","Make HTTP request",{"_path":218,"title":219},"/docs/webhooks/functions/modify-request","Modify webhook headers, body, method and path",{"_path":221,"title":222},"/docs/webhooks/functions/multipart-form-data","Multipart form to JSON",{"_path":224,"title":225},"/docs/webhooks/functions/url-encoded-data","URL Encoded Form",{"_path":227,"title":228},"/docs/webhooks/functions/working-with-time","Working with time",{"_path":230,"title":231},"/docs/webhooks/functions/send-emails","Sending emails",{"_path":233,"title":234},"/docs/webhooks/functions/crypto-functions","Base64, encryption",{"_path":236,"title":237},"/docs/webhooks/functions/integrate-into-cicd","Integrating into CI/CD",{"_path":239,"title":177},"/docs/webhooks/functions/big-query",{"_path":241,"title":242},"/docs/webhooks/functions/accessing-metadata","Accessing metadata",{"_path":244,"title":245},"/docs/webhooks/functions/response-functions","Response (post-delivery) functions",{"_path":247,"title":248},"/docs/webhooks/functions/alerting","Alerting from functions",{"_path":250,"title":251},"/docs/webhooks/functions/helper-libraries","Helper libraries",{"_path":253,"title":254},"/docs/webhooks/functions/transform-webhook-payload","Transform a webhook payload",{"_path":256,"title":257},"/docs/webhooks/functions/filter-webhooks","Filter or drop webhooks before forwarding",{"_path":259,"title":260},"/docs/webhooks/functions/provider-helpers","Provider-aware function helpers",{"_path":262,"title":263},"/docs/webhooks/functions","Webhook transformations (functions): modify body, headers, method and path",{"_path":265,"title":266},"/docs/webhooks/internal/localhost","Receive webhooks on localhost with the relay CLI",{"_path":268,"title":269},"/docs/webhooks/large-webhooks","Large Webhooks",{"_path":271,"title":272},"/docs/webhooks/outbound-throttling","Outbound throttling: control webhook delivery speed",{"_path":274,"title":275},"/docs/webhooks/polling-webhooks","Polling webhooks with /v1/events",{"_path":277,"title":278},"/docs/webhooks/public/public-destination","Forward to public URL",{"_path":280,"title":281},"/docs/webhooks/public/multiple-destination-urls","Forward webhooks to multiple destinations",{"_path":283,"title":284},"/docs/webhooks/replay-on-agent-connect","Webhook replay on agent connect: recover missed webhooks",{"_path":286,"title":287},"/docs/webhooks/static-ip-address","Static IP Address",{"_path":289,"title":290},"/docs/webhooks/tls-ssl-errors","Fix TLS/SSL handshake errors: unsupported protocol, wrong version number, handshake failure",{"_path":292,"title":293},"/docs/webhooks/websocket-server","Connecting to websocket server",{"_path":295,"title":296},"/docs/webhooks/zero-retention-buckets","Zero Retention Buckets",{"_path":259,"_dir":298,"_draft":299,"_partial":299,"_locale":300,"title":260,"description":301,"intro":302,"type":303,"layout":304,"tags":305,"body":309,"_type":3672,"_id":3673,"_source":3674,"_file":3675,"_stem":3676,"_extension":3677,"sitemap":3678},"functions",false,"","Build Slack, Discord, Telegram, Notion, Airtable, Google Sheets and Supabase requests, or enrich webhooks with managed or customer-provided AI.","Provider-aware helpers turn webhook data into provider payloads while durable outputs remain responsible for writes.","example","doc",[306,307,308],"Functions","Webhook Forwarding","Integrations",{"type":310,"children":311,"toc":3656},"root",[312,328,347,354,367,529,550,556,568,713,719,732,882,888,893,1056,1062,1075,1238,1256,1269,1275,1296,1573,1609,1615,1634,1863,1869,1904,2116,2129,2135,2154,2501,2513,2519,2530,2751,2764,2770,2797,3006,3019,3025,3043,3317,3338,3344,3349,3596,3609,3615,3650],{"type":313,"tag":314,"props":315,"children":316},"element","p",{},[317,320,326],{"type":318,"value":319},"text","Provider-aware helpers remove repetitive payload mapping from Functions. With\none exception, they are pure builders: they return a body or request descriptor\nand never contact the destination. Apply that result to an output so retries,\ndelivery logs, throttling and ",{"type":313,"tag":321,"props":322,"children":323},"a",{"href":244},[324],{"type":318,"value":325},"response functions",{"type":318,"value":327},"\ncontinue to work.",{"type":313,"tag":314,"props":329,"children":330},{},[331,338,340,345],{"type":313,"tag":332,"props":333,"children":335},"code",{"className":334},[],[336],{"type":318,"value":337},"ai.generate()",{"type":318,"value":339}," is the exception. It performs a bounded synchronous enrichment\nrequest through a typed ",{"type":313,"tag":321,"props":341,"children":342},{"href":68},[343],{"type":318,"value":344},"AI provider connection",{"type":318,"value":346},".",{"type":313,"tag":348,"props":349,"children":351},"h2",{"id":350},"webhook-relay-ai",[352],{"type":318,"value":353},"Webhook Relay AI",{"type":313,"tag":314,"props":355,"children":356},{},[357,359,365],{"type":318,"value":358},"Create a Webhook Relay AI connection and bind it to ",{"type":313,"tag":332,"props":360,"children":362},{"className":361},[],[363],{"type":318,"value":364},"ai:writer",{"type":318,"value":366},". It needs no\nAPI key, selects the model for you, and shares the account agent's monthly AI\ntoken allowance:",{"type":313,"tag":368,"props":369,"children":373},"pre",{"className":370,"code":371,"language":372,"meta":300,"style":300},"language-javascript shiki shiki-themes github-dark","const ai = require(\"ai:writer\")\nconst result = ai.generate(\"Summarize: \" + r.body, {\n  maxTokens: 200\n})\nr.setBody(JSON.stringify({ summary: result.text, usage: result.usage }))\n","javascript",[374],{"type":313,"tag":332,"props":375,"children":376},{"__ignoreMap":300},[377,423,469,483,492],{"type":313,"tag":378,"props":379,"children":382},"span",{"class":380,"line":381},"line",1,[383,389,395,400,406,412,418],{"type":313,"tag":378,"props":384,"children":386},{"style":385},"--shiki-default:#F97583",[387],{"type":318,"value":388},"const",{"type":313,"tag":378,"props":390,"children":392},{"style":391},"--shiki-default:#79B8FF",[393],{"type":318,"value":394}," ai",{"type":313,"tag":378,"props":396,"children":397},{"style":385},[398],{"type":318,"value":399}," =",{"type":313,"tag":378,"props":401,"children":403},{"style":402},"--shiki-default:#B392F0",[404],{"type":318,"value":405}," require",{"type":313,"tag":378,"props":407,"children":409},{"style":408},"--shiki-default:#E1E4E8",[410],{"type":318,"value":411},"(",{"type":313,"tag":378,"props":413,"children":415},{"style":414},"--shiki-default:#9ECBFF",[416],{"type":318,"value":417},"\"ai:writer\"",{"type":313,"tag":378,"props":419,"children":420},{"style":408},[421],{"type":318,"value":422},")\n",{"type":313,"tag":378,"props":424,"children":426},{"class":380,"line":425},2,[427,431,436,440,445,450,454,459,464],{"type":313,"tag":378,"props":428,"children":429},{"style":385},[430],{"type":318,"value":388},{"type":313,"tag":378,"props":432,"children":433},{"style":391},[434],{"type":318,"value":435}," result",{"type":313,"tag":378,"props":437,"children":438},{"style":385},[439],{"type":318,"value":399},{"type":313,"tag":378,"props":441,"children":442},{"style":408},[443],{"type":318,"value":444}," ai.",{"type":313,"tag":378,"props":446,"children":447},{"style":402},[448],{"type":318,"value":449},"generate",{"type":313,"tag":378,"props":451,"children":452},{"style":408},[453],{"type":318,"value":411},{"type":313,"tag":378,"props":455,"children":456},{"style":414},[457],{"type":318,"value":458},"\"Summarize: \"",{"type":313,"tag":378,"props":460,"children":461},{"style":385},[462],{"type":318,"value":463}," +",{"type":313,"tag":378,"props":465,"children":466},{"style":408},[467],{"type":318,"value":468}," r.body, {\n",{"type":313,"tag":378,"props":470,"children":472},{"class":380,"line":471},3,[473,478],{"type":313,"tag":378,"props":474,"children":475},{"style":408},[476],{"type":318,"value":477},"  maxTokens: ",{"type":313,"tag":378,"props":479,"children":480},{"style":391},[481],{"type":318,"value":482},"200\n",{"type":313,"tag":378,"props":484,"children":486},{"class":380,"line":485},4,[487],{"type":313,"tag":378,"props":488,"children":489},{"style":408},[490],{"type":318,"value":491},"})\n",{"type":313,"tag":378,"props":493,"children":495},{"class":380,"line":494},5,[496,501,506,510,515,519,524],{"type":313,"tag":378,"props":497,"children":498},{"style":408},[499],{"type":318,"value":500},"r.",{"type":313,"tag":378,"props":502,"children":503},{"style":402},[504],{"type":318,"value":505},"setBody",{"type":313,"tag":378,"props":507,"children":508},{"style":408},[509],{"type":318,"value":411},{"type":313,"tag":378,"props":511,"children":512},{"style":391},[513],{"type":318,"value":514},"JSON",{"type":313,"tag":378,"props":516,"children":517},{"style":408},[518],{"type":318,"value":346},{"type":313,"tag":378,"props":520,"children":521},{"style":402},[522],{"type":318,"value":523},"stringify",{"type":313,"tag":378,"props":525,"children":526},{"style":408},[527],{"type":318,"value":528},"({ summary: result.text, usage: result.usage }))\n",{"type":313,"tag":314,"props":530,"children":531},{},[532,534,540,542,548],{"type":318,"value":533},"Do not pass ",{"type":313,"tag":332,"props":535,"children":537},{"className":536},[],[538],{"type":318,"value":539},"model",{"type":318,"value":541}," or ",{"type":313,"tag":332,"props":543,"children":545},{"className":544},[],[546],{"type":318,"value":547},"temperature",{"type":318,"value":549}," for Webhook Relay AI. The platform manages\nthose settings.",{"type":313,"tag":348,"props":551,"children":553},{"id":552},"openai",[554],{"type":318,"value":555},"OpenAI",{"type":313,"tag":314,"props":557,"children":558},{},[559,561,566],{"type":318,"value":560},"Create an OpenAI service connection and bind it to ",{"type":313,"tag":332,"props":562,"children":564},{"className":563},[],[565],{"type":318,"value":364},{"type":318,"value":567},":",{"type":313,"tag":368,"props":569,"children":571},{"className":370,"code":570,"language":372,"meta":300,"style":300},"const ai = require(\"ai:writer\")\nconst result = ai.generate(\"Summarize: \" + r.body, {\n  model: \"gpt-5-mini\",\n  maxTokens: 200\n})\nr.setBody(JSON.stringify({ summary: result.text, usage: result.usage }))\n",[572],{"type":313,"tag":332,"props":573,"children":574},{"__ignoreMap":300},[575,606,645,663,674,681],{"type":313,"tag":378,"props":576,"children":577},{"class":380,"line":381},[578,582,586,590,594,598,602],{"type":313,"tag":378,"props":579,"children":580},{"style":385},[581],{"type":318,"value":388},{"type":313,"tag":378,"props":583,"children":584},{"style":391},[585],{"type":318,"value":394},{"type":313,"tag":378,"props":587,"children":588},{"style":385},[589],{"type":318,"value":399},{"type":313,"tag":378,"props":591,"children":592},{"style":402},[593],{"type":318,"value":405},{"type":313,"tag":378,"props":595,"children":596},{"style":408},[597],{"type":318,"value":411},{"type":313,"tag":378,"props":599,"children":600},{"style":414},[601],{"type":318,"value":417},{"type":313,"tag":378,"props":603,"children":604},{"style":408},[605],{"type":318,"value":422},{"type":313,"tag":378,"props":607,"children":608},{"class":380,"line":425},[609,613,617,621,625,629,633,637,641],{"type":313,"tag":378,"props":610,"children":611},{"style":385},[612],{"type":318,"value":388},{"type":313,"tag":378,"props":614,"children":615},{"style":391},[616],{"type":318,"value":435},{"type":313,"tag":378,"props":618,"children":619},{"style":385},[620],{"type":318,"value":399},{"type":313,"tag":378,"props":622,"children":623},{"style":408},[624],{"type":318,"value":444},{"type":313,"tag":378,"props":626,"children":627},{"style":402},[628],{"type":318,"value":449},{"type":313,"tag":378,"props":630,"children":631},{"style":408},[632],{"type":318,"value":411},{"type":313,"tag":378,"props":634,"children":635},{"style":414},[636],{"type":318,"value":458},{"type":313,"tag":378,"props":638,"children":639},{"style":385},[640],{"type":318,"value":463},{"type":313,"tag":378,"props":642,"children":643},{"style":408},[644],{"type":318,"value":468},{"type":313,"tag":378,"props":646,"children":647},{"class":380,"line":471},[648,653,658],{"type":313,"tag":378,"props":649,"children":650},{"style":408},[651],{"type":318,"value":652},"  model: ",{"type":313,"tag":378,"props":654,"children":655},{"style":414},[656],{"type":318,"value":657},"\"gpt-5-mini\"",{"type":313,"tag":378,"props":659,"children":660},{"style":408},[661],{"type":318,"value":662},",\n",{"type":313,"tag":378,"props":664,"children":665},{"class":380,"line":485},[666,670],{"type":313,"tag":378,"props":667,"children":668},{"style":408},[669],{"type":318,"value":477},{"type":313,"tag":378,"props":671,"children":672},{"style":391},[673],{"type":318,"value":482},{"type":313,"tag":378,"props":675,"children":676},{"class":380,"line":494},[677],{"type":313,"tag":378,"props":678,"children":679},{"style":408},[680],{"type":318,"value":491},{"type":313,"tag":378,"props":682,"children":684},{"class":380,"line":683},6,[685,689,693,697,701,705,709],{"type":313,"tag":378,"props":686,"children":687},{"style":408},[688],{"type":318,"value":500},{"type":313,"tag":378,"props":690,"children":691},{"style":402},[692],{"type":318,"value":505},{"type":313,"tag":378,"props":694,"children":695},{"style":408},[696],{"type":318,"value":411},{"type":313,"tag":378,"props":698,"children":699},{"style":391},[700],{"type":318,"value":514},{"type":313,"tag":378,"props":702,"children":703},{"style":408},[704],{"type":318,"value":346},{"type":313,"tag":378,"props":706,"children":707},{"style":402},[708],{"type":318,"value":523},{"type":313,"tag":378,"props":710,"children":711},{"style":408},[712],{"type":318,"value":528},{"type":313,"tag":348,"props":714,"children":716},{"id":715},"google-gemini",[717],{"type":318,"value":718},"Google Gemini",{"type":313,"tag":314,"props":720,"children":721},{},[722,724,730],{"type":318,"value":723},"The same helper uses Gemini's ",{"type":313,"tag":332,"props":725,"children":727},{"className":726},[],[728],{"type":318,"value":729},"generateContent",{"type":318,"value":731}," API when the alias is bound to\na Gemini connection:",{"type":313,"tag":368,"props":733,"children":735},{"className":370,"code":734,"language":372,"meta":300,"style":300},"const ai = require(\"ai:gemini\")\nconst result = ai.generate(\"Extract the customer intent from: \" + r.body, {\n  model: \"gemini-2.5-flash\",\n  maxTokens: 100\n})\nr.setHeader(\"X-Customer-Intent\", result.text.trim())\n",[736],{"type":313,"tag":332,"props":737,"children":738},{"__ignoreMap":300},[739,771,811,827,839,846],{"type":313,"tag":378,"props":740,"children":741},{"class":380,"line":381},[742,746,750,754,758,762,767],{"type":313,"tag":378,"props":743,"children":744},{"style":385},[745],{"type":318,"value":388},{"type":313,"tag":378,"props":747,"children":748},{"style":391},[749],{"type":318,"value":394},{"type":313,"tag":378,"props":751,"children":752},{"style":385},[753],{"type":318,"value":399},{"type":313,"tag":378,"props":755,"children":756},{"style":402},[757],{"type":318,"value":405},{"type":313,"tag":378,"props":759,"children":760},{"style":408},[761],{"type":318,"value":411},{"type":313,"tag":378,"props":763,"children":764},{"style":414},[765],{"type":318,"value":766},"\"ai:gemini\"",{"type":313,"tag":378,"props":768,"children":769},{"style":408},[770],{"type":318,"value":422},{"type":313,"tag":378,"props":772,"children":773},{"class":380,"line":425},[774,778,782,786,790,794,798,803,807],{"type":313,"tag":378,"props":775,"children":776},{"style":385},[777],{"type":318,"value":388},{"type":313,"tag":378,"props":779,"children":780},{"style":391},[781],{"type":318,"value":435},{"type":313,"tag":378,"props":783,"children":784},{"style":385},[785],{"type":318,"value":399},{"type":313,"tag":378,"props":787,"children":788},{"style":408},[789],{"type":318,"value":444},{"type":313,"tag":378,"props":791,"children":792},{"style":402},[793],{"type":318,"value":449},{"type":313,"tag":378,"props":795,"children":796},{"style":408},[797],{"type":318,"value":411},{"type":313,"tag":378,"props":799,"children":800},{"style":414},[801],{"type":318,"value":802},"\"Extract the customer intent from: \"",{"type":313,"tag":378,"props":804,"children":805},{"style":385},[806],{"type":318,"value":463},{"type":313,"tag":378,"props":808,"children":809},{"style":408},[810],{"type":318,"value":468},{"type":313,"tag":378,"props":812,"children":813},{"class":380,"line":471},[814,818,823],{"type":313,"tag":378,"props":815,"children":816},{"style":408},[817],{"type":318,"value":652},{"type":313,"tag":378,"props":819,"children":820},{"style":414},[821],{"type":318,"value":822},"\"gemini-2.5-flash\"",{"type":313,"tag":378,"props":824,"children":825},{"style":408},[826],{"type":318,"value":662},{"type":313,"tag":378,"props":828,"children":829},{"class":380,"line":485},[830,834],{"type":313,"tag":378,"props":831,"children":832},{"style":408},[833],{"type":318,"value":477},{"type":313,"tag":378,"props":835,"children":836},{"style":391},[837],{"type":318,"value":838},"100\n",{"type":313,"tag":378,"props":840,"children":841},{"class":380,"line":494},[842],{"type":313,"tag":378,"props":843,"children":844},{"style":408},[845],{"type":318,"value":491},{"type":313,"tag":378,"props":847,"children":848},{"class":380,"line":683},[849,853,858,862,867,872,877],{"type":313,"tag":378,"props":850,"children":851},{"style":408},[852],{"type":318,"value":500},{"type":313,"tag":378,"props":854,"children":855},{"style":402},[856],{"type":318,"value":857},"setHeader",{"type":313,"tag":378,"props":859,"children":860},{"style":408},[861],{"type":318,"value":411},{"type":313,"tag":378,"props":863,"children":864},{"style":414},[865],{"type":318,"value":866},"\"X-Customer-Intent\"",{"type":313,"tag":378,"props":868,"children":869},{"style":408},[870],{"type":318,"value":871},", result.text.",{"type":313,"tag":378,"props":873,"children":874},{"style":402},[875],{"type":318,"value":876},"trim",{"type":313,"tag":378,"props":878,"children":879},{"style":408},[880],{"type":318,"value":881},"())\n",{"type":313,"tag":348,"props":883,"children":885},{"id":884},"anthropic",[886],{"type":318,"value":887},"Anthropic",{"type":313,"tag":314,"props":889,"children":890},{},[891],{"type":318,"value":892},"Bind the alias to an Anthropic connection and supply an Anthropic model name:",{"type":313,"tag":368,"props":894,"children":896},{"className":370,"code":895,"language":372,"meta":300,"style":300},"const ai = require(\"ai:reviewer\")\nconst result = ai.generate(\"Review this event for anomalies: \" + r.body, {\n  model: \"claude-haiku-4-5\",\n  system: \"Be concise.\",\n  maxTokens: 200\n})\nr.setBody(JSON.stringify({ review: result.text }))\n",[897],{"type":313,"tag":332,"props":898,"children":899},{"__ignoreMap":300},[900,932,972,988,1005,1016,1023],{"type":313,"tag":378,"props":901,"children":902},{"class":380,"line":381},[903,907,911,915,919,923,928],{"type":313,"tag":378,"props":904,"children":905},{"style":385},[906],{"type":318,"value":388},{"type":313,"tag":378,"props":908,"children":909},{"style":391},[910],{"type":318,"value":394},{"type":313,"tag":378,"props":912,"children":913},{"style":385},[914],{"type":318,"value":399},{"type":313,"tag":378,"props":916,"children":917},{"style":402},[918],{"type":318,"value":405},{"type":313,"tag":378,"props":920,"children":921},{"style":408},[922],{"type":318,"value":411},{"type":313,"tag":378,"props":924,"children":925},{"style":414},[926],{"type":318,"value":927},"\"ai:reviewer\"",{"type":313,"tag":378,"props":929,"children":930},{"style":408},[931],{"type":318,"value":422},{"type":313,"tag":378,"props":933,"children":934},{"class":380,"line":425},[935,939,943,947,951,955,959,964,968],{"type":313,"tag":378,"props":936,"children":937},{"style":385},[938],{"type":318,"value":388},{"type":313,"tag":378,"props":940,"children":941},{"style":391},[942],{"type":318,"value":435},{"type":313,"tag":378,"props":944,"children":945},{"style":385},[946],{"type":318,"value":399},{"type":313,"tag":378,"props":948,"children":949},{"style":408},[950],{"type":318,"value":444},{"type":313,"tag":378,"props":952,"children":953},{"style":402},[954],{"type":318,"value":449},{"type":313,"tag":378,"props":956,"children":957},{"style":408},[958],{"type":318,"value":411},{"type":313,"tag":378,"props":960,"children":961},{"style":414},[962],{"type":318,"value":963},"\"Review this event for anomalies: \"",{"type":313,"tag":378,"props":965,"children":966},{"style":385},[967],{"type":318,"value":463},{"type":313,"tag":378,"props":969,"children":970},{"style":408},[971],{"type":318,"value":468},{"type":313,"tag":378,"props":973,"children":974},{"class":380,"line":471},[975,979,984],{"type":313,"tag":378,"props":976,"children":977},{"style":408},[978],{"type":318,"value":652},{"type":313,"tag":378,"props":980,"children":981},{"style":414},[982],{"type":318,"value":983},"\"claude-haiku-4-5\"",{"type":313,"tag":378,"props":985,"children":986},{"style":408},[987],{"type":318,"value":662},{"type":313,"tag":378,"props":989,"children":990},{"class":380,"line":485},[991,996,1001],{"type":313,"tag":378,"props":992,"children":993},{"style":408},[994],{"type":318,"value":995},"  system: ",{"type":313,"tag":378,"props":997,"children":998},{"style":414},[999],{"type":318,"value":1000},"\"Be concise.\"",{"type":313,"tag":378,"props":1002,"children":1003},{"style":408},[1004],{"type":318,"value":662},{"type":313,"tag":378,"props":1006,"children":1007},{"class":380,"line":494},[1008,1012],{"type":313,"tag":378,"props":1009,"children":1010},{"style":408},[1011],{"type":318,"value":477},{"type":313,"tag":378,"props":1013,"children":1014},{"style":391},[1015],{"type":318,"value":482},{"type":313,"tag":378,"props":1017,"children":1018},{"class":380,"line":683},[1019],{"type":313,"tag":378,"props":1020,"children":1021},{"style":408},[1022],{"type":318,"value":491},{"type":313,"tag":378,"props":1024,"children":1026},{"class":380,"line":1025},7,[1027,1031,1035,1039,1043,1047,1051],{"type":313,"tag":378,"props":1028,"children":1029},{"style":408},[1030],{"type":318,"value":500},{"type":313,"tag":378,"props":1032,"children":1033},{"style":402},[1034],{"type":318,"value":505},{"type":313,"tag":378,"props":1036,"children":1037},{"style":408},[1038],{"type":318,"value":411},{"type":313,"tag":378,"props":1040,"children":1041},{"style":391},[1042],{"type":318,"value":514},{"type":313,"tag":378,"props":1044,"children":1045},{"style":408},[1046],{"type":318,"value":346},{"type":313,"tag":378,"props":1048,"children":1049},{"style":402},[1050],{"type":318,"value":523},{"type":313,"tag":378,"props":1052,"children":1053},{"style":408},[1054],{"type":318,"value":1055},"({ review: result.text }))\n",{"type":313,"tag":348,"props":1057,"children":1059},{"id":1058},"custom-chat-completions-api",[1060],{"type":318,"value":1061},"Custom Chat Completions API",{"type":313,"tag":314,"props":1063,"children":1064},{},[1065,1067,1073],{"type":318,"value":1066},"A custom connection requires an HTTPS base URL whose API implements OpenAI's\n",{"type":313,"tag":332,"props":1068,"children":1070},{"className":1069},[],[1071],{"type":318,"value":1072},"POST /chat/completions",{"type":318,"value":1074}," request and response shape:",{"type":313,"tag":368,"props":1076,"children":1078},{"className":370,"code":1077,"language":372,"meta":300,"style":300},"const ai = require(\"ai:private-model\")\nconst result = ai.generate(\"Label this event: \" + r.body, {\n  model: \"company-classifier-v2\",\n  maxTokens: 32,\n  timeoutMs: 5000\n})\nr.setHeader(\"X-Label\", result.text.trim())\n",[1079],{"type":313,"tag":332,"props":1080,"children":1081},{"__ignoreMap":300},[1082,1114,1154,1170,1186,1199,1206],{"type":313,"tag":378,"props":1083,"children":1084},{"class":380,"line":381},[1085,1089,1093,1097,1101,1105,1110],{"type":313,"tag":378,"props":1086,"children":1087},{"style":385},[1088],{"type":318,"value":388},{"type":313,"tag":378,"props":1090,"children":1091},{"style":391},[1092],{"type":318,"value":394},{"type":313,"tag":378,"props":1094,"children":1095},{"style":385},[1096],{"type":318,"value":399},{"type":313,"tag":378,"props":1098,"children":1099},{"style":402},[1100],{"type":318,"value":405},{"type":313,"tag":378,"props":1102,"children":1103},{"style":408},[1104],{"type":318,"value":411},{"type":313,"tag":378,"props":1106,"children":1107},{"style":414},[1108],{"type":318,"value":1109},"\"ai:private-model\"",{"type":313,"tag":378,"props":1111,"children":1112},{"style":408},[1113],{"type":318,"value":422},{"type":313,"tag":378,"props":1115,"children":1116},{"class":380,"line":425},[1117,1121,1125,1129,1133,1137,1141,1146,1150],{"type":313,"tag":378,"props":1118,"children":1119},{"style":385},[1120],{"type":318,"value":388},{"type":313,"tag":378,"props":1122,"children":1123},{"style":391},[1124],{"type":318,"value":435},{"type":313,"tag":378,"props":1126,"children":1127},{"style":385},[1128],{"type":318,"value":399},{"type":313,"tag":378,"props":1130,"children":1131},{"style":408},[1132],{"type":318,"value":444},{"type":313,"tag":378,"props":1134,"children":1135},{"style":402},[1136],{"type":318,"value":449},{"type":313,"tag":378,"props":1138,"children":1139},{"style":408},[1140],{"type":318,"value":411},{"type":313,"tag":378,"props":1142,"children":1143},{"style":414},[1144],{"type":318,"value":1145},"\"Label this event: \"",{"type":313,"tag":378,"props":1147,"children":1148},{"style":385},[1149],{"type":318,"value":463},{"type":313,"tag":378,"props":1151,"children":1152},{"style":408},[1153],{"type":318,"value":468},{"type":313,"tag":378,"props":1155,"children":1156},{"class":380,"line":471},[1157,1161,1166],{"type":313,"tag":378,"props":1158,"children":1159},{"style":408},[1160],{"type":318,"value":652},{"type":313,"tag":378,"props":1162,"children":1163},{"style":414},[1164],{"type":318,"value":1165},"\"company-classifier-v2\"",{"type":313,"tag":378,"props":1167,"children":1168},{"style":408},[1169],{"type":318,"value":662},{"type":313,"tag":378,"props":1171,"children":1172},{"class":380,"line":485},[1173,1177,1182],{"type":313,"tag":378,"props":1174,"children":1175},{"style":408},[1176],{"type":318,"value":477},{"type":313,"tag":378,"props":1178,"children":1179},{"style":391},[1180],{"type":318,"value":1181},"32",{"type":313,"tag":378,"props":1183,"children":1184},{"style":408},[1185],{"type":318,"value":662},{"type":313,"tag":378,"props":1187,"children":1188},{"class":380,"line":494},[1189,1194],{"type":313,"tag":378,"props":1190,"children":1191},{"style":408},[1192],{"type":318,"value":1193},"  timeoutMs: ",{"type":313,"tag":378,"props":1195,"children":1196},{"style":391},[1197],{"type":318,"value":1198},"5000\n",{"type":313,"tag":378,"props":1200,"children":1201},{"class":380,"line":683},[1202],{"type":313,"tag":378,"props":1203,"children":1204},{"style":408},[1205],{"type":318,"value":491},{"type":313,"tag":378,"props":1207,"children":1208},{"class":380,"line":1025},[1209,1213,1217,1221,1226,1230,1234],{"type":313,"tag":378,"props":1210,"children":1211},{"style":408},[1212],{"type":318,"value":500},{"type":313,"tag":378,"props":1214,"children":1215},{"style":402},[1216],{"type":318,"value":857},{"type":313,"tag":378,"props":1218,"children":1219},{"style":408},[1220],{"type":318,"value":411},{"type":313,"tag":378,"props":1222,"children":1223},{"style":414},[1224],{"type":318,"value":1225},"\"X-Label\"",{"type":313,"tag":378,"props":1227,"children":1228},{"style":408},[1229],{"type":318,"value":871},{"type":313,"tag":378,"props":1231,"children":1232},{"style":402},[1233],{"type":318,"value":876},{"type":313,"tag":378,"props":1235,"children":1236},{"style":408},[1237],{"type":318,"value":881},{"type":313,"tag":314,"props":1239,"children":1240},{},[1241,1243,1248,1250,1254],{"type":318,"value":1242},"API keys for all four customer-provided AI backends stay in the host runtime. Function code can\ncall ",{"type":313,"tag":332,"props":1244,"children":1246},{"className":1245},[],[1247],{"type":318,"value":449},{"type":318,"value":1249}," but cannot read the key. See ",{"type":313,"tag":321,"props":1251,"children":1252},{"href":68},[1253],{"type":318,"value":69},{"type":318,"value":1255},"\nfor setup, structured JSON output and limits.",{"type":313,"tag":314,"props":1257,"children":1258},{},[1259,1261,1267],{"type":318,"value":1260},"If the alias is missing, the account agent links you to the Function's\n",{"type":313,"tag":1262,"props":1263,"children":1264},"strong",{},[1265],{"type":318,"value":1266},"Connections",{"type":318,"value":1268}," tab. Webhook Relay AI can be created there without credentials;\nenter customer-provider credentials only in the write-only Service Connections\ndialog, never in agent chat.",{"type":313,"tag":348,"props":1270,"children":1272},{"id":1271},"slack",[1273],{"type":318,"value":1274},"Slack",{"type":313,"tag":314,"props":1276,"children":1277},{},[1278,1280,1286,1288,1294],{"type":318,"value":1279},"Use ",{"type":313,"tag":332,"props":1281,"children":1283},{"className":1282},[],[1284],{"type":318,"value":1285},"slack.message()",{"type":318,"value":1287}," for text or ",{"type":313,"tag":332,"props":1289,"children":1291},{"className":1290},[],[1292],{"type":318,"value":1293},"slack.blocks()",{"type":318,"value":1295}," for Block Kit. Configure a\nstandard public output with the Slack incoming webhook URL as its destination;\nthe helper only builds its JSON body. This is distinct from the preformatted\nSlack notification output, which wraps arbitrary webhook bodies for you.",{"type":313,"tag":368,"props":1297,"children":1299},{"className":370,"code":1298,"language":372,"meta":300,"style":300},"const slack = require(\"slack\")\nconst event = JSON.parse(r.body)\n\nconst body = slack.blocks([\n  { type: \"section\", text: { type: \"mrkdwn\", text: \"*Deploy complete*\" } },\n  { type: \"context\", elements: [{ type: \"mrkdwn\", text: event.version }] }\n], { text: \"Deploy complete: \" + event.version })\n\nr.setBody(JSON.stringify(body))\nr.setHeader(\"Content-Type\", \"application/json\")\n",[1300],{"type":313,"tag":332,"props":1301,"children":1302},{"__ignoreMap":300},[1303,1336,1371,1380,1411,1449,1475,1497,1505,1538],{"type":313,"tag":378,"props":1304,"children":1305},{"class":380,"line":381},[1306,1310,1315,1319,1323,1327,1332],{"type":313,"tag":378,"props":1307,"children":1308},{"style":385},[1309],{"type":318,"value":388},{"type":313,"tag":378,"props":1311,"children":1312},{"style":391},[1313],{"type":318,"value":1314}," slack",{"type":313,"tag":378,"props":1316,"children":1317},{"style":385},[1318],{"type":318,"value":399},{"type":313,"tag":378,"props":1320,"children":1321},{"style":402},[1322],{"type":318,"value":405},{"type":313,"tag":378,"props":1324,"children":1325},{"style":408},[1326],{"type":318,"value":411},{"type":313,"tag":378,"props":1328,"children":1329},{"style":414},[1330],{"type":318,"value":1331},"\"slack\"",{"type":313,"tag":378,"props":1333,"children":1334},{"style":408},[1335],{"type":318,"value":422},{"type":313,"tag":378,"props":1337,"children":1338},{"class":380,"line":425},[1339,1343,1348,1352,1357,1361,1366],{"type":313,"tag":378,"props":1340,"children":1341},{"style":385},[1342],{"type":318,"value":388},{"type":313,"tag":378,"props":1344,"children":1345},{"style":391},[1346],{"type":318,"value":1347}," event",{"type":313,"tag":378,"props":1349,"children":1350},{"style":385},[1351],{"type":318,"value":399},{"type":313,"tag":378,"props":1353,"children":1354},{"style":391},[1355],{"type":318,"value":1356}," JSON",{"type":313,"tag":378,"props":1358,"children":1359},{"style":408},[1360],{"type":318,"value":346},{"type":313,"tag":378,"props":1362,"children":1363},{"style":402},[1364],{"type":318,"value":1365},"parse",{"type":313,"tag":378,"props":1367,"children":1368},{"style":408},[1369],{"type":318,"value":1370},"(r.body)\n",{"type":313,"tag":378,"props":1372,"children":1373},{"class":380,"line":471},[1374],{"type":313,"tag":378,"props":1375,"children":1377},{"emptyLinePlaceholder":1376},true,[1378],{"type":318,"value":1379},"\n",{"type":313,"tag":378,"props":1381,"children":1382},{"class":380,"line":485},[1383,1387,1392,1396,1401,1406],{"type":313,"tag":378,"props":1384,"children":1385},{"style":385},[1386],{"type":318,"value":388},{"type":313,"tag":378,"props":1388,"children":1389},{"style":391},[1390],{"type":318,"value":1391}," body",{"type":313,"tag":378,"props":1393,"children":1394},{"style":385},[1395],{"type":318,"value":399},{"type":313,"tag":378,"props":1397,"children":1398},{"style":408},[1399],{"type":318,"value":1400}," slack.",{"type":313,"tag":378,"props":1402,"children":1403},{"style":402},[1404],{"type":318,"value":1405},"blocks",{"type":313,"tag":378,"props":1407,"children":1408},{"style":408},[1409],{"type":318,"value":1410},"([\n",{"type":313,"tag":378,"props":1412,"children":1413},{"class":380,"line":494},[1414,1419,1424,1429,1434,1439,1444],{"type":313,"tag":378,"props":1415,"children":1416},{"style":408},[1417],{"type":318,"value":1418},"  { type: ",{"type":313,"tag":378,"props":1420,"children":1421},{"style":414},[1422],{"type":318,"value":1423},"\"section\"",{"type":313,"tag":378,"props":1425,"children":1426},{"style":408},[1427],{"type":318,"value":1428},", text: { type: ",{"type":313,"tag":378,"props":1430,"children":1431},{"style":414},[1432],{"type":318,"value":1433},"\"mrkdwn\"",{"type":313,"tag":378,"props":1435,"children":1436},{"style":408},[1437],{"type":318,"value":1438},", text: ",{"type":313,"tag":378,"props":1440,"children":1441},{"style":414},[1442],{"type":318,"value":1443},"\"*Deploy complete*\"",{"type":313,"tag":378,"props":1445,"children":1446},{"style":408},[1447],{"type":318,"value":1448}," } },\n",{"type":313,"tag":378,"props":1450,"children":1451},{"class":380,"line":683},[1452,1456,1461,1466,1470],{"type":313,"tag":378,"props":1453,"children":1454},{"style":408},[1455],{"type":318,"value":1418},{"type":313,"tag":378,"props":1457,"children":1458},{"style":414},[1459],{"type":318,"value":1460},"\"context\"",{"type":313,"tag":378,"props":1462,"children":1463},{"style":408},[1464],{"type":318,"value":1465},", elements: [{ type: ",{"type":313,"tag":378,"props":1467,"children":1468},{"style":414},[1469],{"type":318,"value":1433},{"type":313,"tag":378,"props":1471,"children":1472},{"style":408},[1473],{"type":318,"value":1474},", text: event.version }] }\n",{"type":313,"tag":378,"props":1476,"children":1477},{"class":380,"line":1025},[1478,1483,1488,1492],{"type":313,"tag":378,"props":1479,"children":1480},{"style":408},[1481],{"type":318,"value":1482},"], { text: ",{"type":313,"tag":378,"props":1484,"children":1485},{"style":414},[1486],{"type":318,"value":1487},"\"Deploy complete: \"",{"type":313,"tag":378,"props":1489,"children":1490},{"style":385},[1491],{"type":318,"value":463},{"type":313,"tag":378,"props":1493,"children":1494},{"style":408},[1495],{"type":318,"value":1496}," event.version })\n",{"type":313,"tag":378,"props":1498,"children":1500},{"class":380,"line":1499},8,[1501],{"type":313,"tag":378,"props":1502,"children":1503},{"emptyLinePlaceholder":1376},[1504],{"type":318,"value":1379},{"type":313,"tag":378,"props":1506,"children":1508},{"class":380,"line":1507},9,[1509,1513,1517,1521,1525,1529,1533],{"type":313,"tag":378,"props":1510,"children":1511},{"style":408},[1512],{"type":318,"value":500},{"type":313,"tag":378,"props":1514,"children":1515},{"style":402},[1516],{"type":318,"value":505},{"type":313,"tag":378,"props":1518,"children":1519},{"style":408},[1520],{"type":318,"value":411},{"type":313,"tag":378,"props":1522,"children":1523},{"style":391},[1524],{"type":318,"value":514},{"type":313,"tag":378,"props":1526,"children":1527},{"style":408},[1528],{"type":318,"value":346},{"type":313,"tag":378,"props":1530,"children":1531},{"style":402},[1532],{"type":318,"value":523},{"type":313,"tag":378,"props":1534,"children":1535},{"style":408},[1536],{"type":318,"value":1537},"(body))\n",{"type":313,"tag":378,"props":1539,"children":1541},{"class":380,"line":1540},10,[1542,1546,1550,1554,1559,1564,1569],{"type":313,"tag":378,"props":1543,"children":1544},{"style":408},[1545],{"type":318,"value":500},{"type":313,"tag":378,"props":1547,"children":1548},{"style":402},[1549],{"type":318,"value":857},{"type":313,"tag":378,"props":1551,"children":1552},{"style":408},[1553],{"type":318,"value":411},{"type":313,"tag":378,"props":1555,"children":1556},{"style":414},[1557],{"type":318,"value":1558},"\"Content-Type\"",{"type":313,"tag":378,"props":1560,"children":1561},{"style":408},[1562],{"type":318,"value":1563},", ",{"type":313,"tag":378,"props":1565,"children":1566},{"style":414},[1567],{"type":318,"value":1568},"\"application/json\"",{"type":313,"tag":378,"props":1570,"children":1571},{"style":408},[1572],{"type":318,"value":422},{"type":313,"tag":314,"props":1574,"children":1575},{},[1576,1578,1584,1586,1592,1594,1600,1602,1608],{"type":318,"value":1577},"Slack message payloads accept at most 50 blocks. ",{"type":313,"tag":332,"props":1579,"children":1581},{"className":1580},[],[1582],{"type":318,"value":1583},"options.text",{"type":318,"value":1585}," is required as\nthe notification and accessibility fallback. When delivering to Slack's\n",{"type":313,"tag":332,"props":1587,"children":1589},{"className":1588},[],[1590],{"type":318,"value":1591},"chat.postMessage",{"type":318,"value":1593}," API instead of an incoming webhook, pass the required\n",{"type":313,"tag":332,"props":1595,"children":1597},{"className":1596},[],[1598],{"type":318,"value":1599},"channel",{"type":318,"value":1601}," as an option, for example ",{"type":313,"tag":332,"props":1603,"children":1605},{"className":1604},[],[1606],{"type":318,"value":1607},"slack.message(\"Build passed\", {channel: \"C123\"})",{"type":318,"value":346},{"type":313,"tag":348,"props":1610,"children":1612},{"id":1611},"discord",[1613],{"type":318,"value":1614},"Discord",{"type":313,"tag":314,"props":1616,"children":1617},{},[1618,1624,1626,1632],{"type":313,"tag":332,"props":1619,"children":1621},{"className":1620},[],[1622],{"type":318,"value":1623},"discord.embed()",{"type":318,"value":1625}," validates Discord's title, description, field and aggregate\ntext limits. Wrap the returned embed in the webhook API's ",{"type":313,"tag":332,"props":1627,"children":1629},{"className":1628},[],[1630],{"type":318,"value":1631},"embeds",{"type":318,"value":1633}," array and\nuse a standard public output targeting the Discord webhook URL:",{"type":313,"tag":368,"props":1635,"children":1637},{"className":370,"code":1636,"language":372,"meta":300,"style":300},"const discord = require(\"discord\")\nconst embed = discord.embed(\"Deploy complete\", {\n  description: \"Production is healthy\",\n  color: 3066993,\n  fields: [{ name: \"Version\", value: \"2026.09.09\", inline: true }]\n})\n\nr.setBody(JSON.stringify({ embeds: [embed] }))\nr.setHeader(\"Content-Type\", \"application/json\")\n",[1638],{"type":313,"tag":332,"props":1639,"children":1640},{"__ignoreMap":300},[1641,1674,1714,1731,1748,1786,1793,1800,1832],{"type":313,"tag":378,"props":1642,"children":1643},{"class":380,"line":381},[1644,1648,1653,1657,1661,1665,1670],{"type":313,"tag":378,"props":1645,"children":1646},{"style":385},[1647],{"type":318,"value":388},{"type":313,"tag":378,"props":1649,"children":1650},{"style":391},[1651],{"type":318,"value":1652}," discord",{"type":313,"tag":378,"props":1654,"children":1655},{"style":385},[1656],{"type":318,"value":399},{"type":313,"tag":378,"props":1658,"children":1659},{"style":402},[1660],{"type":318,"value":405},{"type":313,"tag":378,"props":1662,"children":1663},{"style":408},[1664],{"type":318,"value":411},{"type":313,"tag":378,"props":1666,"children":1667},{"style":414},[1668],{"type":318,"value":1669},"\"discord\"",{"type":313,"tag":378,"props":1671,"children":1672},{"style":408},[1673],{"type":318,"value":422},{"type":313,"tag":378,"props":1675,"children":1676},{"class":380,"line":425},[1677,1681,1686,1690,1695,1700,1704,1709],{"type":313,"tag":378,"props":1678,"children":1679},{"style":385},[1680],{"type":318,"value":388},{"type":313,"tag":378,"props":1682,"children":1683},{"style":391},[1684],{"type":318,"value":1685}," embed",{"type":313,"tag":378,"props":1687,"children":1688},{"style":385},[1689],{"type":318,"value":399},{"type":313,"tag":378,"props":1691,"children":1692},{"style":408},[1693],{"type":318,"value":1694}," discord.",{"type":313,"tag":378,"props":1696,"children":1697},{"style":402},[1698],{"type":318,"value":1699},"embed",{"type":313,"tag":378,"props":1701,"children":1702},{"style":408},[1703],{"type":318,"value":411},{"type":313,"tag":378,"props":1705,"children":1706},{"style":414},[1707],{"type":318,"value":1708},"\"Deploy complete\"",{"type":313,"tag":378,"props":1710,"children":1711},{"style":408},[1712],{"type":318,"value":1713},", {\n",{"type":313,"tag":378,"props":1715,"children":1716},{"class":380,"line":471},[1717,1722,1727],{"type":313,"tag":378,"props":1718,"children":1719},{"style":408},[1720],{"type":318,"value":1721},"  description: ",{"type":313,"tag":378,"props":1723,"children":1724},{"style":414},[1725],{"type":318,"value":1726},"\"Production is healthy\"",{"type":313,"tag":378,"props":1728,"children":1729},{"style":408},[1730],{"type":318,"value":662},{"type":313,"tag":378,"props":1732,"children":1733},{"class":380,"line":485},[1734,1739,1744],{"type":313,"tag":378,"props":1735,"children":1736},{"style":408},[1737],{"type":318,"value":1738},"  color: ",{"type":313,"tag":378,"props":1740,"children":1741},{"style":391},[1742],{"type":318,"value":1743},"3066993",{"type":313,"tag":378,"props":1745,"children":1746},{"style":408},[1747],{"type":318,"value":662},{"type":313,"tag":378,"props":1749,"children":1750},{"class":380,"line":494},[1751,1756,1761,1766,1771,1776,1781],{"type":313,"tag":378,"props":1752,"children":1753},{"style":408},[1754],{"type":318,"value":1755},"  fields: [{ name: ",{"type":313,"tag":378,"props":1757,"children":1758},{"style":414},[1759],{"type":318,"value":1760},"\"Version\"",{"type":313,"tag":378,"props":1762,"children":1763},{"style":408},[1764],{"type":318,"value":1765},", value: ",{"type":313,"tag":378,"props":1767,"children":1768},{"style":414},[1769],{"type":318,"value":1770},"\"2026.09.09\"",{"type":313,"tag":378,"props":1772,"children":1773},{"style":408},[1774],{"type":318,"value":1775},", inline: ",{"type":313,"tag":378,"props":1777,"children":1778},{"style":391},[1779],{"type":318,"value":1780},"true",{"type":313,"tag":378,"props":1782,"children":1783},{"style":408},[1784],{"type":318,"value":1785}," }]\n",{"type":313,"tag":378,"props":1787,"children":1788},{"class":380,"line":683},[1789],{"type":313,"tag":378,"props":1790,"children":1791},{"style":408},[1792],{"type":318,"value":491},{"type":313,"tag":378,"props":1794,"children":1795},{"class":380,"line":1025},[1796],{"type":313,"tag":378,"props":1797,"children":1798},{"emptyLinePlaceholder":1376},[1799],{"type":318,"value":1379},{"type":313,"tag":378,"props":1801,"children":1802},{"class":380,"line":1499},[1803,1807,1811,1815,1819,1823,1827],{"type":313,"tag":378,"props":1804,"children":1805},{"style":408},[1806],{"type":318,"value":500},{"type":313,"tag":378,"props":1808,"children":1809},{"style":402},[1810],{"type":318,"value":505},{"type":313,"tag":378,"props":1812,"children":1813},{"style":408},[1814],{"type":318,"value":411},{"type":313,"tag":378,"props":1816,"children":1817},{"style":391},[1818],{"type":318,"value":514},{"type":313,"tag":378,"props":1820,"children":1821},{"style":408},[1822],{"type":318,"value":346},{"type":313,"tag":378,"props":1824,"children":1825},{"style":402},[1826],{"type":318,"value":523},{"type":313,"tag":378,"props":1828,"children":1829},{"style":408},[1830],{"type":318,"value":1831},"({ embeds: [embed] }))\n",{"type":313,"tag":378,"props":1833,"children":1834},{"class":380,"line":1507},[1835,1839,1843,1847,1851,1855,1859],{"type":313,"tag":378,"props":1836,"children":1837},{"style":408},[1838],{"type":318,"value":500},{"type":313,"tag":378,"props":1840,"children":1841},{"style":402},[1842],{"type":318,"value":857},{"type":313,"tag":378,"props":1844,"children":1845},{"style":408},[1846],{"type":318,"value":411},{"type":313,"tag":378,"props":1848,"children":1849},{"style":414},[1850],{"type":318,"value":1558},{"type":313,"tag":378,"props":1852,"children":1853},{"style":408},[1854],{"type":318,"value":1563},{"type":313,"tag":378,"props":1856,"children":1857},{"style":414},[1858],{"type":318,"value":1568},{"type":313,"tag":378,"props":1860,"children":1861},{"style":408},[1862],{"type":318,"value":422},{"type":313,"tag":348,"props":1864,"children":1866},{"id":1865},"telegram",[1867],{"type":318,"value":1868},"Telegram",{"type":313,"tag":314,"props":1870,"children":1871},{},[1872,1874,1880,1881,1887,1889,1895,1897,1903],{"type":318,"value":1873},"The Telegram helpers return ",{"type":313,"tag":332,"props":1875,"children":1877},{"className":1876},[],[1878],{"type":318,"value":1879},"method",{"type":318,"value":1563},{"type":313,"tag":332,"props":1882,"children":1884},{"className":1883},[],[1885],{"type":318,"value":1886},"path",{"type":318,"value":1888}," and ",{"type":313,"tag":332,"props":1890,"children":1892},{"className":1891},[],[1893],{"type":318,"value":1894},"body",{"type":318,"value":1896},". Apply all three to a\nstandard HTTP output whose destination is\n",{"type":313,"tag":332,"props":1898,"children":1900},{"className":1899},[],[1901],{"type":318,"value":1902},"https://api.telegram.org/bot\u003CTOKEN>",{"type":318,"value":567},{"type":313,"tag":368,"props":1905,"children":1907},{"className":370,"code":1906,"language":372,"meta":300,"style":300},"const telegram = require(\"telegram\")\nconst request = telegram.message(\"-1001234567890\", \"Build passed\", {\n  disable_notification: true\n})\n\nr.setMethod(request.method)\nr.setPath(request.path)\nr.setBody(JSON.stringify(request.body))\nr.setHeader(\"Content-Type\", \"application/json\")\n",[1908],{"type":313,"tag":332,"props":1909,"children":1910},{"__ignoreMap":300},[1911,1944,1992,2005,2012,2019,2036,2053,2085],{"type":313,"tag":378,"props":1912,"children":1913},{"class":380,"line":381},[1914,1918,1923,1927,1931,1935,1940],{"type":313,"tag":378,"props":1915,"children":1916},{"style":385},[1917],{"type":318,"value":388},{"type":313,"tag":378,"props":1919,"children":1920},{"style":391},[1921],{"type":318,"value":1922}," telegram",{"type":313,"tag":378,"props":1924,"children":1925},{"style":385},[1926],{"type":318,"value":399},{"type":313,"tag":378,"props":1928,"children":1929},{"style":402},[1930],{"type":318,"value":405},{"type":313,"tag":378,"props":1932,"children":1933},{"style":408},[1934],{"type":318,"value":411},{"type":313,"tag":378,"props":1936,"children":1937},{"style":414},[1938],{"type":318,"value":1939},"\"telegram\"",{"type":313,"tag":378,"props":1941,"children":1942},{"style":408},[1943],{"type":318,"value":422},{"type":313,"tag":378,"props":1945,"children":1946},{"class":380,"line":425},[1947,1951,1956,1960,1965,1970,1974,1979,1983,1988],{"type":313,"tag":378,"props":1948,"children":1949},{"style":385},[1950],{"type":318,"value":388},{"type":313,"tag":378,"props":1952,"children":1953},{"style":391},[1954],{"type":318,"value":1955}," request",{"type":313,"tag":378,"props":1957,"children":1958},{"style":385},[1959],{"type":318,"value":399},{"type":313,"tag":378,"props":1961,"children":1962},{"style":408},[1963],{"type":318,"value":1964}," telegram.",{"type":313,"tag":378,"props":1966,"children":1967},{"style":402},[1968],{"type":318,"value":1969},"message",{"type":313,"tag":378,"props":1971,"children":1972},{"style":408},[1973],{"type":318,"value":411},{"type":313,"tag":378,"props":1975,"children":1976},{"style":414},[1977],{"type":318,"value":1978},"\"-1001234567890\"",{"type":313,"tag":378,"props":1980,"children":1981},{"style":408},[1982],{"type":318,"value":1563},{"type":313,"tag":378,"props":1984,"children":1985},{"style":414},[1986],{"type":318,"value":1987},"\"Build passed\"",{"type":313,"tag":378,"props":1989,"children":1990},{"style":408},[1991],{"type":318,"value":1713},{"type":313,"tag":378,"props":1993,"children":1994},{"class":380,"line":471},[1995,2000],{"type":313,"tag":378,"props":1996,"children":1997},{"style":408},[1998],{"type":318,"value":1999},"  disable_notification: ",{"type":313,"tag":378,"props":2001,"children":2002},{"style":391},[2003],{"type":318,"value":2004},"true\n",{"type":313,"tag":378,"props":2006,"children":2007},{"class":380,"line":485},[2008],{"type":313,"tag":378,"props":2009,"children":2010},{"style":408},[2011],{"type":318,"value":491},{"type":313,"tag":378,"props":2013,"children":2014},{"class":380,"line":494},[2015],{"type":313,"tag":378,"props":2016,"children":2017},{"emptyLinePlaceholder":1376},[2018],{"type":318,"value":1379},{"type":313,"tag":378,"props":2020,"children":2021},{"class":380,"line":683},[2022,2026,2031],{"type":313,"tag":378,"props":2023,"children":2024},{"style":408},[2025],{"type":318,"value":500},{"type":313,"tag":378,"props":2027,"children":2028},{"style":402},[2029],{"type":318,"value":2030},"setMethod",{"type":313,"tag":378,"props":2032,"children":2033},{"style":408},[2034],{"type":318,"value":2035},"(request.method)\n",{"type":313,"tag":378,"props":2037,"children":2038},{"class":380,"line":1025},[2039,2043,2048],{"type":313,"tag":378,"props":2040,"children":2041},{"style":408},[2042],{"type":318,"value":500},{"type":313,"tag":378,"props":2044,"children":2045},{"style":402},[2046],{"type":318,"value":2047},"setPath",{"type":313,"tag":378,"props":2049,"children":2050},{"style":408},[2051],{"type":318,"value":2052},"(request.path)\n",{"type":313,"tag":378,"props":2054,"children":2055},{"class":380,"line":1499},[2056,2060,2064,2068,2072,2076,2080],{"type":313,"tag":378,"props":2057,"children":2058},{"style":408},[2059],{"type":318,"value":500},{"type":313,"tag":378,"props":2061,"children":2062},{"style":402},[2063],{"type":318,"value":505},{"type":313,"tag":378,"props":2065,"children":2066},{"style":408},[2067],{"type":318,"value":411},{"type":313,"tag":378,"props":2069,"children":2070},{"style":391},[2071],{"type":318,"value":514},{"type":313,"tag":378,"props":2073,"children":2074},{"style":408},[2075],{"type":318,"value":346},{"type":313,"tag":378,"props":2077,"children":2078},{"style":402},[2079],{"type":318,"value":523},{"type":313,"tag":378,"props":2081,"children":2082},{"style":408},[2083],{"type":318,"value":2084},"(request.body))\n",{"type":313,"tag":378,"props":2086,"children":2087},{"class":380,"line":1507},[2088,2092,2096,2100,2104,2108,2112],{"type":313,"tag":378,"props":2089,"children":2090},{"style":408},[2091],{"type":318,"value":500},{"type":313,"tag":378,"props":2093,"children":2094},{"style":402},[2095],{"type":318,"value":857},{"type":313,"tag":378,"props":2097,"children":2098},{"style":408},[2099],{"type":318,"value":411},{"type":313,"tag":378,"props":2101,"children":2102},{"style":414},[2103],{"type":318,"value":1558},{"type":313,"tag":378,"props":2105,"children":2106},{"style":408},[2107],{"type":318,"value":1563},{"type":313,"tag":378,"props":2109,"children":2110},{"style":414},[2111],{"type":318,"value":1568},{"type":313,"tag":378,"props":2113,"children":2114},{"style":408},[2115],{"type":318,"value":422},{"type":313,"tag":314,"props":2117,"children":2118},{},[2119,2121,2127],{"type":318,"value":2120},"For an inline-button webhook, use\n",{"type":313,"tag":332,"props":2122,"children":2124},{"className":2123},[],[2125],{"type":318,"value":2126},"telegram.answerCallback(event.callback_query.id, {text: \"Done\"})",{"type":318,"value":2128}," and apply\nthe returned descriptor in the same way. The helper does not include a bot\ntoken. Telegram authentication is part of the Bot API URL, and there is not\ncurrently a dedicated Telegram output connection, so the configured output\ndestination contains the token.",{"type":313,"tag":348,"props":2130,"children":2132},{"id":2131},"notion",[2133],{"type":318,"value":2134},"Notion",{"type":313,"tag":314,"props":2136,"children":2137},{},[2138,2144,2146,2152],{"type":313,"tag":332,"props":2139,"children":2141},{"className":2140},[],[2142],{"type":318,"value":2143},"notion.properties()",{"type":318,"value":2145}," maps ordinary values into typed Notion page properties.\nUse the result as ",{"type":313,"tag":332,"props":2147,"children":2149},{"className":2148},[],[2150],{"type":318,"value":2151},"properties",{"type":318,"value":2153}," in a page create or update output:",{"type":313,"tag":368,"props":2155,"children":2157},{"className":370,"code":2156,"language":372,"meta":300,"style":300},"const notion = require(\"notion\")\nconst event = JSON.parse(r.body)\n\nconst properties = notion.properties({\n  Name: { type: \"title\", value: event.customer.name },\n  Status: { type: \"status\", value: \"New\" },\n  Amount: { type: \"number\", value: event.amount },\n  Received: { type: \"date\", value: event.created_at }\n})\n\nr.setBody(JSON.stringify({\n  parent: { type: \"data_source_id\", data_source_id: \"DATA_SOURCE_ID\" },\n  properties\n}))\nr.setHeader(\"Content-Type\", \"application/json\")\nr.setHeader(\"Notion-Version\", \"2026-03-11\")\n",[2158],{"type":313,"tag":332,"props":2159,"children":2160},{"__ignoreMap":300},[2161,2194,2225,2232,2262,2280,2307,2325,2343,2350,2357,2389,2417,2426,2435,2467],{"type":313,"tag":378,"props":2162,"children":2163},{"class":380,"line":381},[2164,2168,2173,2177,2181,2185,2190],{"type":313,"tag":378,"props":2165,"children":2166},{"style":385},[2167],{"type":318,"value":388},{"type":313,"tag":378,"props":2169,"children":2170},{"style":391},[2171],{"type":318,"value":2172}," notion",{"type":313,"tag":378,"props":2174,"children":2175},{"style":385},[2176],{"type":318,"value":399},{"type":313,"tag":378,"props":2178,"children":2179},{"style":402},[2180],{"type":318,"value":405},{"type":313,"tag":378,"props":2182,"children":2183},{"style":408},[2184],{"type":318,"value":411},{"type":313,"tag":378,"props":2186,"children":2187},{"style":414},[2188],{"type":318,"value":2189},"\"notion\"",{"type":313,"tag":378,"props":2191,"children":2192},{"style":408},[2193],{"type":318,"value":422},{"type":313,"tag":378,"props":2195,"children":2196},{"class":380,"line":425},[2197,2201,2205,2209,2213,2217,2221],{"type":313,"tag":378,"props":2198,"children":2199},{"style":385},[2200],{"type":318,"value":388},{"type":313,"tag":378,"props":2202,"children":2203},{"style":391},[2204],{"type":318,"value":1347},{"type":313,"tag":378,"props":2206,"children":2207},{"style":385},[2208],{"type":318,"value":399},{"type":313,"tag":378,"props":2210,"children":2211},{"style":391},[2212],{"type":318,"value":1356},{"type":313,"tag":378,"props":2214,"children":2215},{"style":408},[2216],{"type":318,"value":346},{"type":313,"tag":378,"props":2218,"children":2219},{"style":402},[2220],{"type":318,"value":1365},{"type":313,"tag":378,"props":2222,"children":2223},{"style":408},[2224],{"type":318,"value":1370},{"type":313,"tag":378,"props":2226,"children":2227},{"class":380,"line":471},[2228],{"type":313,"tag":378,"props":2229,"children":2230},{"emptyLinePlaceholder":1376},[2231],{"type":318,"value":1379},{"type":313,"tag":378,"props":2233,"children":2234},{"class":380,"line":485},[2235,2239,2244,2248,2253,2257],{"type":313,"tag":378,"props":2236,"children":2237},{"style":385},[2238],{"type":318,"value":388},{"type":313,"tag":378,"props":2240,"children":2241},{"style":391},[2242],{"type":318,"value":2243}," properties",{"type":313,"tag":378,"props":2245,"children":2246},{"style":385},[2247],{"type":318,"value":399},{"type":313,"tag":378,"props":2249,"children":2250},{"style":408},[2251],{"type":318,"value":2252}," notion.",{"type":313,"tag":378,"props":2254,"children":2255},{"style":402},[2256],{"type":318,"value":2151},{"type":313,"tag":378,"props":2258,"children":2259},{"style":408},[2260],{"type":318,"value":2261},"({\n",{"type":313,"tag":378,"props":2263,"children":2264},{"class":380,"line":494},[2265,2270,2275],{"type":313,"tag":378,"props":2266,"children":2267},{"style":408},[2268],{"type":318,"value":2269},"  Name: { type: ",{"type":313,"tag":378,"props":2271,"children":2272},{"style":414},[2273],{"type":318,"value":2274},"\"title\"",{"type":313,"tag":378,"props":2276,"children":2277},{"style":408},[2278],{"type":318,"value":2279},", value: event.customer.name },\n",{"type":313,"tag":378,"props":2281,"children":2282},{"class":380,"line":683},[2283,2288,2293,2297,2302],{"type":313,"tag":378,"props":2284,"children":2285},{"style":408},[2286],{"type":318,"value":2287},"  Status: { type: ",{"type":313,"tag":378,"props":2289,"children":2290},{"style":414},[2291],{"type":318,"value":2292},"\"status\"",{"type":313,"tag":378,"props":2294,"children":2295},{"style":408},[2296],{"type":318,"value":1765},{"type":313,"tag":378,"props":2298,"children":2299},{"style":414},[2300],{"type":318,"value":2301},"\"New\"",{"type":313,"tag":378,"props":2303,"children":2304},{"style":408},[2305],{"type":318,"value":2306}," },\n",{"type":313,"tag":378,"props":2308,"children":2309},{"class":380,"line":1025},[2310,2315,2320],{"type":313,"tag":378,"props":2311,"children":2312},{"style":408},[2313],{"type":318,"value":2314},"  Amount: { type: ",{"type":313,"tag":378,"props":2316,"children":2317},{"style":414},[2318],{"type":318,"value":2319},"\"number\"",{"type":313,"tag":378,"props":2321,"children":2322},{"style":408},[2323],{"type":318,"value":2324},", value: event.amount },\n",{"type":313,"tag":378,"props":2326,"children":2327},{"class":380,"line":1499},[2328,2333,2338],{"type":313,"tag":378,"props":2329,"children":2330},{"style":408},[2331],{"type":318,"value":2332},"  Received: { type: ",{"type":313,"tag":378,"props":2334,"children":2335},{"style":414},[2336],{"type":318,"value":2337},"\"date\"",{"type":313,"tag":378,"props":2339,"children":2340},{"style":408},[2341],{"type":318,"value":2342},", value: event.created_at }\n",{"type":313,"tag":378,"props":2344,"children":2345},{"class":380,"line":1507},[2346],{"type":313,"tag":378,"props":2347,"children":2348},{"style":408},[2349],{"type":318,"value":491},{"type":313,"tag":378,"props":2351,"children":2352},{"class":380,"line":1540},[2353],{"type":313,"tag":378,"props":2354,"children":2355},{"emptyLinePlaceholder":1376},[2356],{"type":318,"value":1379},{"type":313,"tag":378,"props":2358,"children":2360},{"class":380,"line":2359},11,[2361,2365,2369,2373,2377,2381,2385],{"type":313,"tag":378,"props":2362,"children":2363},{"style":408},[2364],{"type":318,"value":500},{"type":313,"tag":378,"props":2366,"children":2367},{"style":402},[2368],{"type":318,"value":505},{"type":313,"tag":378,"props":2370,"children":2371},{"style":408},[2372],{"type":318,"value":411},{"type":313,"tag":378,"props":2374,"children":2375},{"style":391},[2376],{"type":318,"value":514},{"type":313,"tag":378,"props":2378,"children":2379},{"style":408},[2380],{"type":318,"value":346},{"type":313,"tag":378,"props":2382,"children":2383},{"style":402},[2384],{"type":318,"value":523},{"type":313,"tag":378,"props":2386,"children":2387},{"style":408},[2388],{"type":318,"value":2261},{"type":313,"tag":378,"props":2390,"children":2392},{"class":380,"line":2391},12,[2393,2398,2403,2408,2413],{"type":313,"tag":378,"props":2394,"children":2395},{"style":408},[2396],{"type":318,"value":2397},"  parent: { type: ",{"type":313,"tag":378,"props":2399,"children":2400},{"style":414},[2401],{"type":318,"value":2402},"\"data_source_id\"",{"type":313,"tag":378,"props":2404,"children":2405},{"style":408},[2406],{"type":318,"value":2407},", data_source_id: ",{"type":313,"tag":378,"props":2409,"children":2410},{"style":414},[2411],{"type":318,"value":2412},"\"DATA_SOURCE_ID\"",{"type":313,"tag":378,"props":2414,"children":2415},{"style":408},[2416],{"type":318,"value":2306},{"type":313,"tag":378,"props":2418,"children":2420},{"class":380,"line":2419},13,[2421],{"type":313,"tag":378,"props":2422,"children":2423},{"style":408},[2424],{"type":318,"value":2425},"  properties\n",{"type":313,"tag":378,"props":2427,"children":2429},{"class":380,"line":2428},14,[2430],{"type":313,"tag":378,"props":2431,"children":2432},{"style":408},[2433],{"type":318,"value":2434},"}))\n",{"type":313,"tag":378,"props":2436,"children":2438},{"class":380,"line":2437},15,[2439,2443,2447,2451,2455,2459,2463],{"type":313,"tag":378,"props":2440,"children":2441},{"style":408},[2442],{"type":318,"value":500},{"type":313,"tag":378,"props":2444,"children":2445},{"style":402},[2446],{"type":318,"value":857},{"type":313,"tag":378,"props":2448,"children":2449},{"style":408},[2450],{"type":318,"value":411},{"type":313,"tag":378,"props":2452,"children":2453},{"style":414},[2454],{"type":318,"value":1558},{"type":313,"tag":378,"props":2456,"children":2457},{"style":408},[2458],{"type":318,"value":1563},{"type":313,"tag":378,"props":2460,"children":2461},{"style":414},[2462],{"type":318,"value":1568},{"type":313,"tag":378,"props":2464,"children":2465},{"style":408},[2466],{"type":318,"value":422},{"type":313,"tag":378,"props":2468,"children":2470},{"class":380,"line":2469},16,[2471,2475,2479,2483,2488,2492,2497],{"type":313,"tag":378,"props":2472,"children":2473},{"style":408},[2474],{"type":318,"value":500},{"type":313,"tag":378,"props":2476,"children":2477},{"style":402},[2478],{"type":318,"value":857},{"type":313,"tag":378,"props":2480,"children":2481},{"style":408},[2482],{"type":318,"value":411},{"type":313,"tag":378,"props":2484,"children":2485},{"style":414},[2486],{"type":318,"value":2487},"\"Notion-Version\"",{"type":313,"tag":378,"props":2489,"children":2490},{"style":408},[2491],{"type":318,"value":1563},{"type":313,"tag":378,"props":2493,"children":2494},{"style":414},[2495],{"type":318,"value":2496},"\"2026-03-11\"",{"type":313,"tag":378,"props":2498,"children":2499},{"style":408},[2500],{"type":318,"value":422},{"type":313,"tag":314,"props":2502,"children":2503},{},[2504,2506,2511],{"type":318,"value":2505},"Store the Notion integration token as a ",{"type":313,"tag":321,"props":2507,"children":2508},{"href":89},[2509],{"type":318,"value":2510},"secret connection",{"type":318,"value":2512},"\nand set its Bearer header in the Function or output configuration.",{"type":313,"tag":348,"props":2514,"children":2516},{"id":2515},"airtable",[2517],{"type":318,"value":2518},"Airtable",{"type":313,"tag":314,"props":2520,"children":2521},{},[2522,2528],{"type":313,"tag":332,"props":2523,"children":2525},{"className":2524},[],[2526],{"type":318,"value":2527},"airtable.fields()",{"type":318,"value":2529}," wraps a record for Airtable and can enable API typecasting:",{"type":313,"tag":368,"props":2531,"children":2533},{"className":370,"code":2532,"language":372,"meta":300,"style":300},"const airtable = require(\"airtable\")\nconst event = JSON.parse(r.body)\n\nconst body = airtable.fields({\n  Name: event.customer.name,\n  Email: event.customer.email,\n  Active: true\n}, { typecast: true })\n\nr.setBody(JSON.stringify(body))\nr.setHeader(\"Content-Type\", \"application/json\")\n",[2534],{"type":313,"tag":332,"props":2535,"children":2536},{"__ignoreMap":300},[2537,2570,2601,2608,2637,2645,2653,2665,2682,2689,2720],{"type":313,"tag":378,"props":2538,"children":2539},{"class":380,"line":381},[2540,2544,2549,2553,2557,2561,2566],{"type":313,"tag":378,"props":2541,"children":2542},{"style":385},[2543],{"type":318,"value":388},{"type":313,"tag":378,"props":2545,"children":2546},{"style":391},[2547],{"type":318,"value":2548}," airtable",{"type":313,"tag":378,"props":2550,"children":2551},{"style":385},[2552],{"type":318,"value":399},{"type":313,"tag":378,"props":2554,"children":2555},{"style":402},[2556],{"type":318,"value":405},{"type":313,"tag":378,"props":2558,"children":2559},{"style":408},[2560],{"type":318,"value":411},{"type":313,"tag":378,"props":2562,"children":2563},{"style":414},[2564],{"type":318,"value":2565},"\"airtable\"",{"type":313,"tag":378,"props":2567,"children":2568},{"style":408},[2569],{"type":318,"value":422},{"type":313,"tag":378,"props":2571,"children":2572},{"class":380,"line":425},[2573,2577,2581,2585,2589,2593,2597],{"type":313,"tag":378,"props":2574,"children":2575},{"style":385},[2576],{"type":318,"value":388},{"type":313,"tag":378,"props":2578,"children":2579},{"style":391},[2580],{"type":318,"value":1347},{"type":313,"tag":378,"props":2582,"children":2583},{"style":385},[2584],{"type":318,"value":399},{"type":313,"tag":378,"props":2586,"children":2587},{"style":391},[2588],{"type":318,"value":1356},{"type":313,"tag":378,"props":2590,"children":2591},{"style":408},[2592],{"type":318,"value":346},{"type":313,"tag":378,"props":2594,"children":2595},{"style":402},[2596],{"type":318,"value":1365},{"type":313,"tag":378,"props":2598,"children":2599},{"style":408},[2600],{"type":318,"value":1370},{"type":313,"tag":378,"props":2602,"children":2603},{"class":380,"line":471},[2604],{"type":313,"tag":378,"props":2605,"children":2606},{"emptyLinePlaceholder":1376},[2607],{"type":318,"value":1379},{"type":313,"tag":378,"props":2609,"children":2610},{"class":380,"line":485},[2611,2615,2619,2623,2628,2633],{"type":313,"tag":378,"props":2612,"children":2613},{"style":385},[2614],{"type":318,"value":388},{"type":313,"tag":378,"props":2616,"children":2617},{"style":391},[2618],{"type":318,"value":1391},{"type":313,"tag":378,"props":2620,"children":2621},{"style":385},[2622],{"type":318,"value":399},{"type":313,"tag":378,"props":2624,"children":2625},{"style":408},[2626],{"type":318,"value":2627}," airtable.",{"type":313,"tag":378,"props":2629,"children":2630},{"style":402},[2631],{"type":318,"value":2632},"fields",{"type":313,"tag":378,"props":2634,"children":2635},{"style":408},[2636],{"type":318,"value":2261},{"type":313,"tag":378,"props":2638,"children":2639},{"class":380,"line":494},[2640],{"type":313,"tag":378,"props":2641,"children":2642},{"style":408},[2643],{"type":318,"value":2644},"  Name: event.customer.name,\n",{"type":313,"tag":378,"props":2646,"children":2647},{"class":380,"line":683},[2648],{"type":313,"tag":378,"props":2649,"children":2650},{"style":408},[2651],{"type":318,"value":2652},"  Email: event.customer.email,\n",{"type":313,"tag":378,"props":2654,"children":2655},{"class":380,"line":1025},[2656,2661],{"type":313,"tag":378,"props":2657,"children":2658},{"style":408},[2659],{"type":318,"value":2660},"  Active: ",{"type":313,"tag":378,"props":2662,"children":2663},{"style":391},[2664],{"type":318,"value":2004},{"type":313,"tag":378,"props":2666,"children":2667},{"class":380,"line":1499},[2668,2673,2677],{"type":313,"tag":378,"props":2669,"children":2670},{"style":408},[2671],{"type":318,"value":2672},"}, { typecast: ",{"type":313,"tag":378,"props":2674,"children":2675},{"style":391},[2676],{"type":318,"value":1780},{"type":313,"tag":378,"props":2678,"children":2679},{"style":408},[2680],{"type":318,"value":2681}," })\n",{"type":313,"tag":378,"props":2683,"children":2684},{"class":380,"line":1507},[2685],{"type":313,"tag":378,"props":2686,"children":2687},{"emptyLinePlaceholder":1376},[2688],{"type":318,"value":1379},{"type":313,"tag":378,"props":2690,"children":2691},{"class":380,"line":1540},[2692,2696,2700,2704,2708,2712,2716],{"type":313,"tag":378,"props":2693,"children":2694},{"style":408},[2695],{"type":318,"value":500},{"type":313,"tag":378,"props":2697,"children":2698},{"style":402},[2699],{"type":318,"value":505},{"type":313,"tag":378,"props":2701,"children":2702},{"style":408},[2703],{"type":318,"value":411},{"type":313,"tag":378,"props":2705,"children":2706},{"style":391},[2707],{"type":318,"value":514},{"type":313,"tag":378,"props":2709,"children":2710},{"style":408},[2711],{"type":318,"value":346},{"type":313,"tag":378,"props":2713,"children":2714},{"style":402},[2715],{"type":318,"value":523},{"type":313,"tag":378,"props":2717,"children":2718},{"style":408},[2719],{"type":318,"value":1537},{"type":313,"tag":378,"props":2721,"children":2722},{"class":380,"line":2359},[2723,2727,2731,2735,2739,2743,2747],{"type":313,"tag":378,"props":2724,"children":2725},{"style":408},[2726],{"type":318,"value":500},{"type":313,"tag":378,"props":2728,"children":2729},{"style":402},[2730],{"type":318,"value":857},{"type":313,"tag":378,"props":2732,"children":2733},{"style":408},[2734],{"type":318,"value":411},{"type":313,"tag":378,"props":2736,"children":2737},{"style":414},[2738],{"type":318,"value":1558},{"type":313,"tag":378,"props":2740,"children":2741},{"style":408},[2742],{"type":318,"value":1563},{"type":313,"tag":378,"props":2744,"children":2745},{"style":414},[2746],{"type":318,"value":1568},{"type":313,"tag":378,"props":2748,"children":2749},{"style":408},[2750],{"type":318,"value":422},{"type":313,"tag":314,"props":2752,"children":2753},{},[2754,2756,2762],{"type":318,"value":2755},"This example creates one record. Use an Airtable personal access token from a\nsecret connection for the ",{"type":313,"tag":332,"props":2757,"children":2759},{"className":2758},[],[2760],{"type":318,"value":2761},"Authorization: Bearer …",{"type":318,"value":2763}," header. The output\ndestination remains the Airtable records endpoint.",{"type":313,"tag":348,"props":2765,"children":2767},{"id":2766},"google-sheets",[2768],{"type":318,"value":2769},"Google Sheets",{"type":313,"tag":314,"props":2771,"children":2772},{},[2773,2779,2781,2787,2789,2795],{"type":313,"tag":332,"props":2774,"children":2776},{"className":2775},[],[2777],{"type":318,"value":2778},"sheets.row()",{"type":318,"value":2780}," creates a ",{"type":313,"tag":332,"props":2782,"children":2784},{"className":2783},[],[2785],{"type":318,"value":2786},"ValueRange",{"type":318,"value":2788}," with stable column order for the Sheets\n",{"type":313,"tag":332,"props":2790,"children":2792},{"className":2791},[],[2793],{"type":318,"value":2794},"spreadsheets.values.append",{"type":318,"value":2796}," endpoint:",{"type":313,"tag":368,"props":2798,"children":2800},{"className":370,"code":2799,"language":372,"meta":300,"style":300},"const sheets = require(\"sheets\")\nconst event = JSON.parse(r.body)\n\nconst row = sheets.row(event, [\"id\", \"email\", \"amount\", \"created_at\"])\nr.setBody(JSON.stringify(row))\nr.setHeader(\"Content-Type\", \"application/json\")\n",[2801],{"type":313,"tag":332,"props":2802,"children":2803},{"__ignoreMap":300},[2804,2837,2868,2875,2943,2975],{"type":313,"tag":378,"props":2805,"children":2806},{"class":380,"line":381},[2807,2811,2816,2820,2824,2828,2833],{"type":313,"tag":378,"props":2808,"children":2809},{"style":385},[2810],{"type":318,"value":388},{"type":313,"tag":378,"props":2812,"children":2813},{"style":391},[2814],{"type":318,"value":2815}," sheets",{"type":313,"tag":378,"props":2817,"children":2818},{"style":385},[2819],{"type":318,"value":399},{"type":313,"tag":378,"props":2821,"children":2822},{"style":402},[2823],{"type":318,"value":405},{"type":313,"tag":378,"props":2825,"children":2826},{"style":408},[2827],{"type":318,"value":411},{"type":313,"tag":378,"props":2829,"children":2830},{"style":414},[2831],{"type":318,"value":2832},"\"sheets\"",{"type":313,"tag":378,"props":2834,"children":2835},{"style":408},[2836],{"type":318,"value":422},{"type":313,"tag":378,"props":2838,"children":2839},{"class":380,"line":425},[2840,2844,2848,2852,2856,2860,2864],{"type":313,"tag":378,"props":2841,"children":2842},{"style":385},[2843],{"type":318,"value":388},{"type":313,"tag":378,"props":2845,"children":2846},{"style":391},[2847],{"type":318,"value":1347},{"type":313,"tag":378,"props":2849,"children":2850},{"style":385},[2851],{"type":318,"value":399},{"type":313,"tag":378,"props":2853,"children":2854},{"style":391},[2855],{"type":318,"value":1356},{"type":313,"tag":378,"props":2857,"children":2858},{"style":408},[2859],{"type":318,"value":346},{"type":313,"tag":378,"props":2861,"children":2862},{"style":402},[2863],{"type":318,"value":1365},{"type":313,"tag":378,"props":2865,"children":2866},{"style":408},[2867],{"type":318,"value":1370},{"type":313,"tag":378,"props":2869,"children":2870},{"class":380,"line":471},[2871],{"type":313,"tag":378,"props":2872,"children":2873},{"emptyLinePlaceholder":1376},[2874],{"type":318,"value":1379},{"type":313,"tag":378,"props":2876,"children":2877},{"class":380,"line":485},[2878,2882,2887,2891,2896,2901,2906,2911,2915,2920,2924,2929,2933,2938],{"type":313,"tag":378,"props":2879,"children":2880},{"style":385},[2881],{"type":318,"value":388},{"type":313,"tag":378,"props":2883,"children":2884},{"style":391},[2885],{"type":318,"value":2886}," row",{"type":313,"tag":378,"props":2888,"children":2889},{"style":385},[2890],{"type":318,"value":399},{"type":313,"tag":378,"props":2892,"children":2893},{"style":408},[2894],{"type":318,"value":2895}," sheets.",{"type":313,"tag":378,"props":2897,"children":2898},{"style":402},[2899],{"type":318,"value":2900},"row",{"type":313,"tag":378,"props":2902,"children":2903},{"style":408},[2904],{"type":318,"value":2905},"(event, [",{"type":313,"tag":378,"props":2907,"children":2908},{"style":414},[2909],{"type":318,"value":2910},"\"id\"",{"type":313,"tag":378,"props":2912,"children":2913},{"style":408},[2914],{"type":318,"value":1563},{"type":313,"tag":378,"props":2916,"children":2917},{"style":414},[2918],{"type":318,"value":2919},"\"email\"",{"type":313,"tag":378,"props":2921,"children":2922},{"style":408},[2923],{"type":318,"value":1563},{"type":313,"tag":378,"props":2925,"children":2926},{"style":414},[2927],{"type":318,"value":2928},"\"amount\"",{"type":313,"tag":378,"props":2930,"children":2931},{"style":408},[2932],{"type":318,"value":1563},{"type":313,"tag":378,"props":2934,"children":2935},{"style":414},[2936],{"type":318,"value":2937},"\"created_at\"",{"type":313,"tag":378,"props":2939,"children":2940},{"style":408},[2941],{"type":318,"value":2942},"])\n",{"type":313,"tag":378,"props":2944,"children":2945},{"class":380,"line":494},[2946,2950,2954,2958,2962,2966,2970],{"type":313,"tag":378,"props":2947,"children":2948},{"style":408},[2949],{"type":318,"value":500},{"type":313,"tag":378,"props":2951,"children":2952},{"style":402},[2953],{"type":318,"value":505},{"type":313,"tag":378,"props":2955,"children":2956},{"style":408},[2957],{"type":318,"value":411},{"type":313,"tag":378,"props":2959,"children":2960},{"style":391},[2961],{"type":318,"value":514},{"type":313,"tag":378,"props":2963,"children":2964},{"style":408},[2965],{"type":318,"value":346},{"type":313,"tag":378,"props":2967,"children":2968},{"style":402},[2969],{"type":318,"value":523},{"type":313,"tag":378,"props":2971,"children":2972},{"style":408},[2973],{"type":318,"value":2974},"(row))\n",{"type":313,"tag":378,"props":2976,"children":2977},{"class":380,"line":683},[2978,2982,2986,2990,2994,2998,3002],{"type":313,"tag":378,"props":2979,"children":2980},{"style":408},[2981],{"type":318,"value":500},{"type":313,"tag":378,"props":2983,"children":2984},{"style":402},[2985],{"type":318,"value":857},{"type":313,"tag":378,"props":2987,"children":2988},{"style":408},[2989],{"type":318,"value":411},{"type":313,"tag":378,"props":2991,"children":2992},{"style":414},[2993],{"type":318,"value":1558},{"type":313,"tag":378,"props":2995,"children":2996},{"style":408},[2997],{"type":318,"value":1563},{"type":313,"tag":378,"props":2999,"children":3000},{"style":414},[3001],{"type":318,"value":1568},{"type":313,"tag":378,"props":3003,"children":3004},{"style":408},[3005],{"type":318,"value":422},{"type":313,"tag":314,"props":3007,"children":3008},{},[3009,3011,3017],{"type":318,"value":3010},"Missing object properties become ",{"type":313,"tag":332,"props":3012,"children":3014},{"className":3013},[],[3015],{"type":318,"value":3016},"null",{"type":318,"value":3018}," cells. Authentication and the sheet\nrange belong to the configured output; the helper does not append the row.",{"type":313,"tag":348,"props":3020,"children":3022},{"id":3021},"supabase",[3023],{"type":318,"value":3024},"Supabase",{"type":313,"tag":314,"props":3026,"children":3027},{},[3028,3034,3035,3041],{"type":313,"tag":332,"props":3029,"children":3031},{"className":3030},[],[3032],{"type":318,"value":3033},"supabase.insert()",{"type":318,"value":1888},{"type":313,"tag":332,"props":3036,"children":3038},{"className":3037},[],[3039],{"type":318,"value":3040},"supabase.upsert()",{"type":318,"value":3042}," return a PostgREST request\ndescriptor. Apply its method, path, optional raw query, headers and body to an\noutput targeting the Supabase project URL:",{"type":313,"tag":368,"props":3044,"children":3046},{"className":370,"code":3045,"language":372,"meta":300,"style":300},"const supabase = require(\"supabase\")\nconst request = supabase.upsert(\"events\", JSON.parse(r.body), {\n  onConflict: \"id\",\n  returning: \"representation\"\n})\n\nr.setMethod(request.method)\nr.setPath(request.path)\nif (request.rawQuery) r.setRawQuery(request.rawQuery)\nObject.keys(request.headers).forEach(name => r.setHeader(name, request.headers[name]))\nr.setBody(JSON.stringify(request.body))\n",[3047],{"type":313,"tag":332,"props":3048,"children":3049},{"__ignoreMap":300},[3050,3083,3138,3154,3167,3174,3181,3196,3211,3234,3286],{"type":313,"tag":378,"props":3051,"children":3052},{"class":380,"line":381},[3053,3057,3062,3066,3070,3074,3079],{"type":313,"tag":378,"props":3054,"children":3055},{"style":385},[3056],{"type":318,"value":388},{"type":313,"tag":378,"props":3058,"children":3059},{"style":391},[3060],{"type":318,"value":3061}," supabase",{"type":313,"tag":378,"props":3063,"children":3064},{"style":385},[3065],{"type":318,"value":399},{"type":313,"tag":378,"props":3067,"children":3068},{"style":402},[3069],{"type":318,"value":405},{"type":313,"tag":378,"props":3071,"children":3072},{"style":408},[3073],{"type":318,"value":411},{"type":313,"tag":378,"props":3075,"children":3076},{"style":414},[3077],{"type":318,"value":3078},"\"supabase\"",{"type":313,"tag":378,"props":3080,"children":3081},{"style":408},[3082],{"type":318,"value":422},{"type":313,"tag":378,"props":3084,"children":3085},{"class":380,"line":425},[3086,3090,3094,3098,3103,3108,3112,3117,3121,3125,3129,3133],{"type":313,"tag":378,"props":3087,"children":3088},{"style":385},[3089],{"type":318,"value":388},{"type":313,"tag":378,"props":3091,"children":3092},{"style":391},[3093],{"type":318,"value":1955},{"type":313,"tag":378,"props":3095,"children":3096},{"style":385},[3097],{"type":318,"value":399},{"type":313,"tag":378,"props":3099,"children":3100},{"style":408},[3101],{"type":318,"value":3102}," supabase.",{"type":313,"tag":378,"props":3104,"children":3105},{"style":402},[3106],{"type":318,"value":3107},"upsert",{"type":313,"tag":378,"props":3109,"children":3110},{"style":408},[3111],{"type":318,"value":411},{"type":313,"tag":378,"props":3113,"children":3114},{"style":414},[3115],{"type":318,"value":3116},"\"events\"",{"type":313,"tag":378,"props":3118,"children":3119},{"style":408},[3120],{"type":318,"value":1563},{"type":313,"tag":378,"props":3122,"children":3123},{"style":391},[3124],{"type":318,"value":514},{"type":313,"tag":378,"props":3126,"children":3127},{"style":408},[3128],{"type":318,"value":346},{"type":313,"tag":378,"props":3130,"children":3131},{"style":402},[3132],{"type":318,"value":1365},{"type":313,"tag":378,"props":3134,"children":3135},{"style":408},[3136],{"type":318,"value":3137},"(r.body), {\n",{"type":313,"tag":378,"props":3139,"children":3140},{"class":380,"line":471},[3141,3146,3150],{"type":313,"tag":378,"props":3142,"children":3143},{"style":408},[3144],{"type":318,"value":3145},"  onConflict: ",{"type":313,"tag":378,"props":3147,"children":3148},{"style":414},[3149],{"type":318,"value":2910},{"type":313,"tag":378,"props":3151,"children":3152},{"style":408},[3153],{"type":318,"value":662},{"type":313,"tag":378,"props":3155,"children":3156},{"class":380,"line":485},[3157,3162],{"type":313,"tag":378,"props":3158,"children":3159},{"style":408},[3160],{"type":318,"value":3161},"  returning: ",{"type":313,"tag":378,"props":3163,"children":3164},{"style":414},[3165],{"type":318,"value":3166},"\"representation\"\n",{"type":313,"tag":378,"props":3168,"children":3169},{"class":380,"line":494},[3170],{"type":313,"tag":378,"props":3171,"children":3172},{"style":408},[3173],{"type":318,"value":491},{"type":313,"tag":378,"props":3175,"children":3176},{"class":380,"line":683},[3177],{"type":313,"tag":378,"props":3178,"children":3179},{"emptyLinePlaceholder":1376},[3180],{"type":318,"value":1379},{"type":313,"tag":378,"props":3182,"children":3183},{"class":380,"line":1025},[3184,3188,3192],{"type":313,"tag":378,"props":3185,"children":3186},{"style":408},[3187],{"type":318,"value":500},{"type":313,"tag":378,"props":3189,"children":3190},{"style":402},[3191],{"type":318,"value":2030},{"type":313,"tag":378,"props":3193,"children":3194},{"style":408},[3195],{"type":318,"value":2035},{"type":313,"tag":378,"props":3197,"children":3198},{"class":380,"line":1499},[3199,3203,3207],{"type":313,"tag":378,"props":3200,"children":3201},{"style":408},[3202],{"type":318,"value":500},{"type":313,"tag":378,"props":3204,"children":3205},{"style":402},[3206],{"type":318,"value":2047},{"type":313,"tag":378,"props":3208,"children":3209},{"style":408},[3210],{"type":318,"value":2052},{"type":313,"tag":378,"props":3212,"children":3213},{"class":380,"line":1507},[3214,3219,3224,3229],{"type":313,"tag":378,"props":3215,"children":3216},{"style":385},[3217],{"type":318,"value":3218},"if",{"type":313,"tag":378,"props":3220,"children":3221},{"style":408},[3222],{"type":318,"value":3223}," (request.rawQuery) r.",{"type":313,"tag":378,"props":3225,"children":3226},{"style":402},[3227],{"type":318,"value":3228},"setRawQuery",{"type":313,"tag":378,"props":3230,"children":3231},{"style":408},[3232],{"type":318,"value":3233},"(request.rawQuery)\n",{"type":313,"tag":378,"props":3235,"children":3236},{"class":380,"line":1540},[3237,3242,3247,3252,3257,3261,3267,3272,3277,3281],{"type":313,"tag":378,"props":3238,"children":3239},{"style":408},[3240],{"type":318,"value":3241},"Object.",{"type":313,"tag":378,"props":3243,"children":3244},{"style":402},[3245],{"type":318,"value":3246},"keys",{"type":313,"tag":378,"props":3248,"children":3249},{"style":408},[3250],{"type":318,"value":3251},"(request.headers).",{"type":313,"tag":378,"props":3253,"children":3254},{"style":402},[3255],{"type":318,"value":3256},"forEach",{"type":313,"tag":378,"props":3258,"children":3259},{"style":408},[3260],{"type":318,"value":411},{"type":313,"tag":378,"props":3262,"children":3264},{"style":3263},"--shiki-default:#FFAB70",[3265],{"type":318,"value":3266},"name",{"type":313,"tag":378,"props":3268,"children":3269},{"style":385},[3270],{"type":318,"value":3271}," =>",{"type":313,"tag":378,"props":3273,"children":3274},{"style":408},[3275],{"type":318,"value":3276}," r.",{"type":313,"tag":378,"props":3278,"children":3279},{"style":402},[3280],{"type":318,"value":857},{"type":313,"tag":378,"props":3282,"children":3283},{"style":408},[3284],{"type":318,"value":3285},"(name, request.headers[name]))\n",{"type":313,"tag":378,"props":3287,"children":3288},{"class":380,"line":2359},[3289,3293,3297,3301,3305,3309,3313],{"type":313,"tag":378,"props":3290,"children":3291},{"style":408},[3292],{"type":318,"value":500},{"type":313,"tag":378,"props":3294,"children":3295},{"style":402},[3296],{"type":318,"value":505},{"type":313,"tag":378,"props":3298,"children":3299},{"style":408},[3300],{"type":318,"value":411},{"type":313,"tag":378,"props":3302,"children":3303},{"style":391},[3304],{"type":318,"value":514},{"type":313,"tag":378,"props":3306,"children":3307},{"style":408},[3308],{"type":318,"value":346},{"type":313,"tag":378,"props":3310,"children":3311},{"style":402},[3312],{"type":318,"value":523},{"type":313,"tag":378,"props":3314,"children":3315},{"style":408},[3316],{"type":318,"value":2084},{"type":313,"tag":314,"props":3318,"children":3319},{},[3320,3322,3328,3330,3336],{"type":318,"value":3321},"Import the Supabase key from a secret connection and set the ",{"type":313,"tag":332,"props":3323,"children":3325},{"className":3324},[],[3326],{"type":318,"value":3327},"apikey",{"type":318,"value":3329}," and\n",{"type":313,"tag":332,"props":3331,"children":3333},{"className":3332},[],[3334],{"type":318,"value":3335},"Authorization",{"type":318,"value":3337}," headers, or configure those headers on the output. Keeping the\nwrite as an output makes an upsert observable and replayable through the normal\ndelivery system.",{"type":313,"tag":348,"props":3339,"children":3341},{"id":3340},"lua-usage",[3342],{"type":318,"value":3343},"Lua usage",{"type":313,"tag":314,"props":3345,"children":3346},{},[3347],{"type":318,"value":3348},"Every builder uses the same module and camelCase method names in Lua. Tables\nreplace JavaScript objects and request setters use colon syntax:",{"type":313,"tag":368,"props":3350,"children":3354},{"className":3351,"code":3352,"language":3353,"meta":300,"style":300},"language-lua shiki shiki-themes github-dark","local slack = require(\"slack\")\nlocal json = require(\"json\")\n\nlocal body = slack.message(\"Build passed\")\nlocal encoded, err = json.encode(body)\nif err then error(err) end\n\nr:SetRequestBody(encoded)\nr:SetRequestHeader(\"Content-Type\", \"application/json\")\n","lua",[3355],{"type":313,"tag":332,"props":3356,"children":3357},{"__ignoreMap":300},[3358,3392,3425,3432,3468,3499,3531,3538,3560],{"type":313,"tag":378,"props":3359,"children":3360},{"class":380,"line":381},[3361,3366,3371,3376,3380,3384,3388],{"type":313,"tag":378,"props":3362,"children":3363},{"style":385},[3364],{"type":318,"value":3365},"local",{"type":313,"tag":378,"props":3367,"children":3368},{"style":408},[3369],{"type":318,"value":3370}," slack ",{"type":313,"tag":378,"props":3372,"children":3373},{"style":385},[3374],{"type":318,"value":3375},"=",{"type":313,"tag":378,"props":3377,"children":3378},{"style":391},[3379],{"type":318,"value":405},{"type":313,"tag":378,"props":3381,"children":3382},{"style":408},[3383],{"type":318,"value":411},{"type":313,"tag":378,"props":3385,"children":3386},{"style":414},[3387],{"type":318,"value":1331},{"type":313,"tag":378,"props":3389,"children":3390},{"style":408},[3391],{"type":318,"value":422},{"type":313,"tag":378,"props":3393,"children":3394},{"class":380,"line":425},[3395,3399,3404,3408,3412,3416,3421],{"type":313,"tag":378,"props":3396,"children":3397},{"style":385},[3398],{"type":318,"value":3365},{"type":313,"tag":378,"props":3400,"children":3401},{"style":408},[3402],{"type":318,"value":3403}," json ",{"type":313,"tag":378,"props":3405,"children":3406},{"style":385},[3407],{"type":318,"value":3375},{"type":313,"tag":378,"props":3409,"children":3410},{"style":391},[3411],{"type":318,"value":405},{"type":313,"tag":378,"props":3413,"children":3414},{"style":408},[3415],{"type":318,"value":411},{"type":313,"tag":378,"props":3417,"children":3418},{"style":414},[3419],{"type":318,"value":3420},"\"json\"",{"type":313,"tag":378,"props":3422,"children":3423},{"style":408},[3424],{"type":318,"value":422},{"type":313,"tag":378,"props":3426,"children":3427},{"class":380,"line":471},[3428],{"type":313,"tag":378,"props":3429,"children":3430},{"emptyLinePlaceholder":1376},[3431],{"type":318,"value":1379},{"type":313,"tag":378,"props":3433,"children":3434},{"class":380,"line":485},[3435,3439,3444,3448,3452,3456,3460,3464],{"type":313,"tag":378,"props":3436,"children":3437},{"style":385},[3438],{"type":318,"value":3365},{"type":313,"tag":378,"props":3440,"children":3441},{"style":408},[3442],{"type":318,"value":3443}," body ",{"type":313,"tag":378,"props":3445,"children":3446},{"style":385},[3447],{"type":318,"value":3375},{"type":313,"tag":378,"props":3449,"children":3450},{"style":408},[3451],{"type":318,"value":1400},{"type":313,"tag":378,"props":3453,"children":3454},{"style":391},[3455],{"type":318,"value":1969},{"type":313,"tag":378,"props":3457,"children":3458},{"style":408},[3459],{"type":318,"value":411},{"type":313,"tag":378,"props":3461,"children":3462},{"style":414},[3463],{"type":318,"value":1987},{"type":313,"tag":378,"props":3465,"children":3466},{"style":408},[3467],{"type":318,"value":422},{"type":313,"tag":378,"props":3469,"children":3470},{"class":380,"line":494},[3471,3475,3480,3484,3489,3494],{"type":313,"tag":378,"props":3472,"children":3473},{"style":385},[3474],{"type":318,"value":3365},{"type":313,"tag":378,"props":3476,"children":3477},{"style":408},[3478],{"type":318,"value":3479}," encoded, err ",{"type":313,"tag":378,"props":3481,"children":3482},{"style":385},[3483],{"type":318,"value":3375},{"type":313,"tag":378,"props":3485,"children":3486},{"style":408},[3487],{"type":318,"value":3488}," json.",{"type":313,"tag":378,"props":3490,"children":3491},{"style":391},[3492],{"type":318,"value":3493},"encode",{"type":313,"tag":378,"props":3495,"children":3496},{"style":408},[3497],{"type":318,"value":3498},"(body)\n",{"type":313,"tag":378,"props":3500,"children":3501},{"class":380,"line":683},[3502,3506,3511,3516,3521,3526],{"type":313,"tag":378,"props":3503,"children":3504},{"style":385},[3505],{"type":318,"value":3218},{"type":313,"tag":378,"props":3507,"children":3508},{"style":408},[3509],{"type":318,"value":3510}," err ",{"type":313,"tag":378,"props":3512,"children":3513},{"style":385},[3514],{"type":318,"value":3515},"then",{"type":313,"tag":378,"props":3517,"children":3518},{"style":391},[3519],{"type":318,"value":3520}," error",{"type":313,"tag":378,"props":3522,"children":3523},{"style":408},[3524],{"type":318,"value":3525},"(err) ",{"type":313,"tag":378,"props":3527,"children":3528},{"style":385},[3529],{"type":318,"value":3530},"end\n",{"type":313,"tag":378,"props":3532,"children":3533},{"class":380,"line":1025},[3534],{"type":313,"tag":378,"props":3535,"children":3536},{"emptyLinePlaceholder":1376},[3537],{"type":318,"value":1379},{"type":313,"tag":378,"props":3539,"children":3540},{"class":380,"line":1499},[3541,3546,3550,3555],{"type":313,"tag":378,"props":3542,"children":3543},{"style":402},[3544],{"type":318,"value":3545},"r",{"type":313,"tag":378,"props":3547,"children":3548},{"style":408},[3549],{"type":318,"value":567},{"type":313,"tag":378,"props":3551,"children":3552},{"style":391},[3553],{"type":318,"value":3554},"SetRequestBody",{"type":313,"tag":378,"props":3556,"children":3557},{"style":408},[3558],{"type":318,"value":3559},"(encoded)\n",{"type":313,"tag":378,"props":3561,"children":3562},{"class":380,"line":1507},[3563,3567,3571,3576,3580,3584,3588,3592],{"type":313,"tag":378,"props":3564,"children":3565},{"style":402},[3566],{"type":318,"value":3545},{"type":313,"tag":378,"props":3568,"children":3569},{"style":408},[3570],{"type":318,"value":567},{"type":313,"tag":378,"props":3572,"children":3573},{"style":391},[3574],{"type":318,"value":3575},"SetRequestHeader",{"type":313,"tag":378,"props":3577,"children":3578},{"style":408},[3579],{"type":318,"value":411},{"type":313,"tag":378,"props":3581,"children":3582},{"style":414},[3583],{"type":318,"value":1558},{"type":313,"tag":378,"props":3585,"children":3586},{"style":408},[3587],{"type":318,"value":1563},{"type":313,"tag":378,"props":3589,"children":3590},{"style":414},[3591],{"type":318,"value":1568},{"type":313,"tag":378,"props":3593,"children":3594},{"style":408},[3595],{"type":318,"value":422},{"type":313,"tag":314,"props":3597,"children":3598},{},[3599,3601,3607],{"type":318,"value":3600},"The generated Function reference in the editor includes runnable JavaScript\nand Lua examples for every method, including ",{"type":313,"tag":332,"props":3602,"children":3604},{"className":3603},[],[3605],{"type":318,"value":3606},"telegram.answerCallback()",{"type":318,"value":3608}," and\nboth Supabase write builders.",{"type":313,"tag":348,"props":3610,"children":3612},{"id":3611},"next-steps",[3613],{"type":318,"value":3614},"Next steps",{"type":313,"tag":3616,"props":3617,"children":3618},"ul",{},[3619,3627,3635,3642],{"type":313,"tag":3620,"props":3621,"children":3622},"li",{},[3623],{"type":313,"tag":321,"props":3624,"children":3625},{"href":68},[3626],{"type":318,"value":69},{"type":313,"tag":3620,"props":3628,"children":3629},{},[3630],{"type":313,"tag":321,"props":3631,"children":3632},{"href":89},[3633],{"type":318,"value":3634},"Secret service connections",{"type":313,"tag":3620,"props":3636,"children":3637},{},[3638],{"type":313,"tag":321,"props":3639,"children":3640},{"href":250},[3641],{"type":318,"value":251},{"type":313,"tag":3620,"props":3643,"children":3644},{},[3645],{"type":313,"tag":321,"props":3646,"children":3647},{"href":209},[3648],{"type":318,"value":3649},"Durable webhook delivery",{"type":313,"tag":3651,"props":3652,"children":3653},"style",{},[3654],{"type":318,"value":3655},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":300,"searchDepth":471,"depth":471,"links":3657},[3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671],{"id":350,"depth":425,"text":353},{"id":552,"depth":425,"text":555},{"id":715,"depth":425,"text":718},{"id":884,"depth":425,"text":887},{"id":1058,"depth":425,"text":1061},{"id":1271,"depth":425,"text":1274},{"id":1611,"depth":425,"text":1614},{"id":1865,"depth":425,"text":1868},{"id":2131,"depth":425,"text":2134},{"id":2515,"depth":425,"text":2518},{"id":2766,"depth":425,"text":2769},{"id":3021,"depth":425,"text":3024},{"id":3340,"depth":425,"text":3343},{"id":3611,"depth":425,"text":3614},"markdown","content:docs:webhooks:functions:18.provider-helpers.md","content","docs/webhooks/functions/18.provider-helpers.md","docs/webhooks/functions/18.provider-helpers","md",{"loc":259},1789016349752]