Creating Free Trial and Subscription for conversational bot

Hi I created Telegram Chat bot using the ‘conversational ai agent.’

Now I want to set it up so that users can initially chat with the bot and send 7 messages, and then they will need to subscribe in order to continue to use the bot. The subscription will need to take place through Stripe. How is this done? Is there an easier way to do this or a template already created?

I used ‘edit fields’ node to track number of user message and then tried to insert Javascript nodes to write out code that would limit messages to 5, but I seem to now be stuck.

I’m using a Macbook and n8n version 1.39.1

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Ctheodros ,

Welcome to the community! :dizzy:

This sounds like a really cool workflow!

Would you be able to share it so we get a better picture of how the whole thing ties together? You can do it by clicking ‘</>’ and pasting in the workflow’s code (please remember ro remove any sensitive information)

There isn’t an integration like this in our Templates yet, but there are a few examples using Stripe, if you’d like to check them out: n8n workflow templates

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.