And SDK to interact with the Followup API
- 🌈 Trigger new notifications from node
- 📦 Easy to setup and integrate
- 🛡 Written in TypeScript with predictable static types.
npm install @followup/node
yarn add @followup/node
import { Followup } from '@followup/node';
const followup = new Followup(process.env.FOLLOWUP_API_KEY);
await followup.trigger('<REPLACE_WITH_EVENT_NAME>', {
$user_id: "<USER IDENTIFIER>",
$email: "<USER_EMAIL>",
customAttribute: "", // use the custom attribute from each event here
firstName: ""
});
@followup/node
is written in TypeScript with complete definitions.