# @openfn/language-mogli

> OpenFn adaptor for Mogli SMS

Latest version **0.7.4** (published 2026-09-03) · LGPLv3 license · 0 weekly downloads

## Install

```sh
npm install @openfn/language-mogli
pnpm add @openfn/language-mogli
yarn add @openfn/language-mogli
bun add @openfn/language-mogli
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.7.4 |
| Published | 2026-09-03 |
| First published | 2022-11-25 |
| Weekly downloads | 0 |
| License | LGPLv3 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 86.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Open Function Group |
| Maintainers | elias-ba, stuartc-openfn, taylordowns2000, mtuchi, jclark-openfn |

## Links

- npm: https://www.npmjs.com/package/@openfn/language-mogli
- Repository: https://github.com/openfn/adaptors
- Homepage: https://github.com/openfn/adaptors#readme
- Issues: https://github.com/openfn/adaptors/issues
- npm.io page: https://npm.io/package/@openfn/language-mogli

## Dependencies (7)

- [yargs](https://npm.io/package/yargs.md) ^3.32.0
- [jsforce](https://npm.io/package/jsforce.md) ^1.11.1
- [request](https://npm.io/package/request.md) ^2.88.2
- [JSONPath](https://npm.io/package/JSONPath.md) ^0.10.0
- [mustache](https://npm.io/package/mustache.md) ^2.3.2
- [lodash-fp](https://npm.io/package/lodash-fp.md) ^0.10.4
- [@openfn/language-common](https://npm.io/package/@openfn/language-common.md) 3.3.5

## Recent versions

- 0.7.4 (latest) — 2026-09-03
- 0.7.3 — 2026-07-29
- 0.7.2 — 2026-06-30
- 0.7.1 — 2026-05-27
- 0.7.0 — 2026-05-21
- 0.6.15 — 2026-05-20
- 0.6.14 — 2026-04-07
- 0.6.13 — 2026-03-30
- 0.6.12 — 2026-02-25
- 0.6.11 — 2026-02-24
- 0.6.10 — 2026-01-30
- 0.6.9 — 2025-12-03
- 0.6.8 — 2025-11-28
- 0.6.7 — 2025-11-12
- 0.6.6 — 2025-10-29
- … 29 more at https://npm.io/package/@openfn/language-mogli/versions

## README

# Language Mogli

Language Pack for building expressions and operations to interact with Mogli
SMS.

## Documentation

### Configuration

View all the required and optional properties for `state.configuration` in the
official
[configuration-schema](https://docs.openfn.org/adaptors/packages/mogli-configuration-schema/)
definition.

### Create inbound SMS

```js
createSMS(
  fields(
    field('sender', dataValue('from_number')),
    field('receivedAt', dataValue('timestamp')),
    field('message', dataValue('message'))
  )
);
```

<!-- TODO: determine update process -->
<!-- ### Update SMS status
```js
updateSMS(
  fields(
    field("Id", dataValue("externalId")),
    field("status", dataValue("status"))
  )
);
``` -->

## Development

Clone the [adaptors monorepo](https://github.com/OpenFn/adaptors). Follow the
`Getting Started` guide inside to get set up.

Run tests using `pnpm run test` or `pnpm run test:watch`

Build the project using `pnpm build`.

To just build the docs run `pnpm build docs`

---
_Source: https://npm.io/package/@openfn/language-mogli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
