Skip to content

Commit

Permalink
Create rapidpro.md
Browse files Browse the repository at this point in the history
  • Loading branch information
daissatou2 authored Dec 5, 2024
1 parent b3b191d commit 8a0cb9c
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions adaptors/rapidpro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: RapidPro Adaptor
---

## About RapidPro

[RapidPro](https://app.rapidpro.io/) is an open-source platform for building scalable, automated messaging workflows. It is widely used in development and humanitarian contexts for managing communication via SMS, social media, and other messaging channels.


## Integration Options

**RapidPro supports two primary integration options:**

**1. Rest API:** RapidPro has an available REST API that enables external services like OpenFn to pull data RapidPro, or push data from external apps to RapidPro. This option suits scheduled, bulk syncs or workflows that must update data in RapidPro with external information. See [functions](/adaptors/packages/rapidpro-docs) for more on how to use this adaptor to work with the API.

**2. Webhook:** RapidPro also has a Webhook or Data Forwarding to push data from Rapidpro to external systems. This option is suited for real-time, event-based data integration. Check out the RapidPro [developer documentation](https://docs.rapidpro.io/webhooks/) to learn how to set up a webhook to push data to OpenFn.

## Authentication

When integrating with RapidPro via OpenFn, one primary authentication method is supported: **Personal Access Token (PAT)**. See this adaptor's [Configuration docs](/adaptors/packages/rapidpro-configuration-schema) for more on required authentication parameters.

See platform docs on [managing credentials](/documentation/manage-projects/manage-credentials) for how to configure a credential in OpenFn. If working locally or if using a Raw JSON credential type, then your configuration will look something like this:

```
{
"host": "https://app.rapidpro.io/",
"token": "#Super-sSCrecrete-token"
}
```

### Helpful Links

1. [RapidPro API documentation](https://rapidpro.io/api/v2/)
2. [RapidPro Community](https://community.rapidpro.io/)

### Implementation Examples

1. Sample RapidPro -> DHIS2 sync: [https://github.com/OpenFn/rapidpro-dhis2](https://github.com/OpenFn/rapidpro-dhis2)




0 comments on commit 8a0cb9c

Please sign in to comment.