@robinpath/brevo
Advanced tools
+113
| # @robinpath/brevo | ||
| > Brevo module for RobinPath. | ||
|     | ||
| ## Why use this module? | ||
| The `brevo` module lets you: | ||
| - sendTransactionalEmail | ||
| - sendTransactionalSms | ||
| - listContacts | ||
| - getContact | ||
| - createContact | ||
| All functions are callable directly from RobinPath scripts with a simple, consistent API. | ||
| ## Installation | ||
| ```bash | ||
| npm install @robinpath/brevo | ||
| ``` | ||
| ## Quick Start | ||
| **1. Set up credentials** | ||
| ```robinpath | ||
| brevo.setCredentials "your-credentials" | ||
| ``` | ||
| **2. sendTransactionalEmail** | ||
| ```robinpath | ||
| brevo.sendTransactionalEmail | ||
| ``` | ||
| ## Available Functions | ||
| | Function | Description | | ||
| |----------|-------------| | ||
| | `brevo.setCredentials` | Configure brevo credentials. | | ||
| | `brevo.sendTransactionalEmail` | sendTransactionalEmail | | ||
| | `brevo.sendTransactionalSms` | sendTransactionalSms | | ||
| | `brevo.listContacts` | listContacts | | ||
| | `brevo.getContact` | getContact | | ||
| | `brevo.createContact` | createContact | | ||
| | `brevo.updateContact` | updateContact | | ||
| | `brevo.deleteContact` | deleteContact | | ||
| | `brevo.listLists` | listLists | | ||
| | `brevo.getList` | getList | | ||
| | `brevo.createList` | createList | | ||
| | `brevo.addContactToList` | addContactToList | | ||
| | `brevo.removeContactFromList` | removeContactFromList | | ||
| | `brevo.listCampaigns` | listCampaigns | | ||
| | `brevo.getCampaign` | getCampaign | | ||
| | `brevo.createEmailCampaign` | createEmailCampaign | | ||
| | `brevo.sendCampaign` | sendCampaign | | ||
| | `brevo.getEmailEvents` | getEmailEvents | | ||
| | `brevo.importContacts` | importContacts | | ||
| ## Examples | ||
| ### sendTransactionalEmail | ||
| ```robinpath | ||
| brevo.sendTransactionalEmail | ||
| ``` | ||
| ### sendTransactionalSms | ||
| ```robinpath | ||
| brevo.sendTransactionalSms | ||
| ``` | ||
| ### listContacts | ||
| ```robinpath | ||
| brevo.listContacts | ||
| ``` | ||
| ## Integration with RobinPath | ||
| ```typescript | ||
| import { RobinPath } from "@wiredwp/robinpath"; | ||
| import Module from "@robinpath/brevo"; | ||
| const rp = new RobinPath(); | ||
| rp.registerModule(Module.name, Module.functions); | ||
| rp.registerModuleMeta(Module.name, Module.functionMetadata); | ||
| const result = await rp.executeScript(` | ||
| brevo.setCredentials "your-credentials" | ||
| brevo.sendTransactionalEmail | ||
| `); | ||
| ``` | ||
| ## Full API Reference | ||
| See [MODULE.md](./MODULE.md) for complete documentation including all parameters, return types, error handling, and advanced examples. | ||
| ## Related Modules | ||
| - [`@robinpath/activecampaign`](../activecampaign) — ActiveCampaign module for complementary functionality | ||
| - [`@robinpath/convertkit`](../convertkit) — Convertkit module for complementary functionality | ||
| - [`@robinpath/mailchimp`](../mailchimp) — Mailchimp module for complementary functionality | ||
| - [`@robinpath/sendgrid`](../sendgrid) — SendGrid module for complementary functionality | ||
| - [`@robinpath/lemlist`](../lemlist) — Lemlist module for complementary functionality | ||
| ## License | ||
| MIT |
+1
-1
| { | ||
| "name": "@robinpath/brevo", | ||
| "version": "0.1.0", | ||
| "version": "0.1.1", | ||
| "publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
31651
10.45%10
11.11%0
-100%114
Infinity%2
100%