Join Discord

Enter your email to get updates
What is Membrane?
Membrane is a hosted TypeScript runtime specifically designed to build personal automation tools and interact with APIs more easily.
FEATURES
EXAMPLES
example-mailchimp-alerts
Example of a Membrane program that send a sms when a new subscriber is subscribed to a Mailchimp audience.
Subscribe to event
Send SMS notification
import { nodes, root, state } from "membrane";
const { mailchimp } = nodes;

export async function configure({ audienceId }) {
  const audience = mailchimp.audiences.one({ id: audienceId });
  state.name = await audience.name;
  await audience.subscribed.$subscribe(root.handler);
}

export async function handler(_, { event }) {
  await nodes.sms.send({
    message: `New subscriber on "${state.name}": ${event.email}`,
  });
}
Install From VS Code
Dev Blog