Not specified
49 proposals
We have a chatbot on SendPulse and need to set it up so that it allows subscription to a closed club via Stripe, which should automatically renew every month, and provide subscription management, as well as automatically open and close access in case of its start or end.
What is already ready
A product with monthly billing has been created in Stripe, along with a payment link for it. The bot in SendPulse exists, guides the user to payment, and can set tags and work with contact fields. There is a lack of integration between the two systems: currently, if a person pays through Stripe, SendPulse does not get notified about it.
What needs to be done Set up a webhook in Stripe for the events checkout.session.completed, invoice.paid, and customer.subscription.deleted. Write a handler (serverless function or a ready-made no-code tool like Albato, n8n) that receives the webhook, extracts the client's email and the type of event. Use the SendPulse API to update the contact field or tag (for example, club_active = yes/no) depending on the event. Set up automation in SendPulse that opens access to the closed channel based on this field upon successful payment and closes it upon cancellation or failed billing. Connect the Stripe Customer Portal so that the participant can cancel the subscription or change the card themselves, and this should also be sent to SendPulse via the same webhook. If you have an easier way to integrate without third-party webhooks, we will consider that too!
What should be the outcome
A working chain: a person pays in Stripe, receives access to the channel within a couple of minutes, and upon cancellation or failed billing, access is automatically closed without administrator involvement. Plus, a short documentation: where everything is set up, how to restart the handler if it fails, and where to look in case a participant complains about closed access.
Who we are looking for
Experience with Stripe API and webhooks, experience with SendPulse API (or readiness to quickly understand it, documentation is open), ability to set up a simple serverless handler or configure integration in Albato/n8n. Willingness to show a similar case from the portfolio will be a plus.