Skip to content
BotFlowDev
Services Approach Platforms Guides About Contact
Discuss your project
Home/Guides/Integrations
Guide · Integrations

Connecting RapidPro flows to your systems with webhooks

Webhooks let a RapidPro or TextIt flow send data to, or fetch data from, another system mid-conversation. Used well, they keep your programme systems in step with the chatbot.

By Morgan CollettPublished 3 October 2026
In this guide What a webhook does in a flow When to use one Design the endpoint for the flow Plan for failure Keep it secure Test with realistic data

What a webhook does in a flow

A webhook step makes an HTTP request to a URL you choose while a participant is in a flow. It can send data the participant has just given, or fetch information such as an appointment date. The response is saved as a flow result, so later steps can use it, and the flow can branch on whether the call succeeded.

When to use one

  • Creating or updating a record in a case management system, CRM, or database.
  • Looking up information that lives outside the platform.
  • Triggering an action elsewhere, such as notifying a staff member.

For bulk reporting, exporting data on a schedule is often simpler than calling a webhook on every message.

Design the endpoint for the flow

  • Respond quickly. The participant is waiting. Do slow work in the background and reply straight away.
  • Return simple JSON. Flat fields are easier to use in flow logic than deeply nested structures.
  • Make repeat calls safe. If the same request arrives twice, it should not create two records.

Plan for failure

Every webhook step should have a path for when the call fails or times out. Decide what the participant sees, whether the flow tries again later, and how your team finds out. A silent failure is the most common cause of missing data in programme systems.

Keep it secure

  • Use HTTPS and require an authentication header or token.
  • Send only the fields the receiving system needs.
  • Keep credentials out of message content and flow names.

Test with realistic data

Test each webhook with the kinds of input participants actually send, including empty answers, unexpected characters, and very long replies. Log requests on the receiving side so problems can be traced.

Integrations and reporting

Need help with this?

We connect journeys to your systems and build the reporting your team needs. BotFlow Dev works on your existing Turn.io or RapidPro/TextIt workspace.

Discuss your chatbot projectSee our services

Related guides

Journey design

Designing WhatsApp registration journeys people complete

Registration is often the first journey a participant meets, and the one where most drop off. These principles help more people finish it.

Read the guide
Costs

Redesigning chatbot journeys to reduce WhatsApp message costs

From 1 October 2026, Meta charges for service messages sent inside the 24-hour customer service window. Journey design now has a direct effect on running costs.

Read the guide
BotFlowDev

BotFlow Dev is an offering from Morgan Collett Software.

hello@morgancollett.com

BotFlow Dev

  • Services
  • Approach
  • Platforms
  • Guides
  • Contact
  • Privacy & Legal

Morgan Collett Software

  • Morgan Collett Software
  • BotFlow Host
© 2026 Morgan Collett Software Turn.io, RapidPro and TextIt are the property of their respective owners. · Privacy & Legal