Marketing
Newsletter
How Cascade handles newsletter
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How Cascade handles newsletter
subscribeToNewsletter: publicProcedure
.input(z.object({ email: z.string().email() }))
.mutation(async ({ input }) => {
if (loops) {
await loops.createContact(input.email, {
source: "CASCADE_NEWSLETTER",
});
}
await slackNewNewsletterSubscriberNotification.invoke({
email: input.email,
});
}),