Issue with Telegram "Create a Chat Invite Link" module - Returns error despite valid Chat ID

:bullseye: What is your goal?

“I want to automatically generate a Telegram invite link for a private group whenever a new sale is detected via a Systeme.io webhook.”

:thinking: What is the problem & what have you tried?

"The ‘Create a Chat Invite Link’ module returns an error despite my setup. I have already:

Created a valid connection using a fresh API token from @BotFather.

Added the bot to the private group and granted it Administrator rights (including ‘Invite users via link’).

Verified the Chat ID (format: -100xxxxxxxxxx).
Despite this, the module fails to generate the link."

:clipboard: Error messages or input/output bundles

“The module consistently returns a ‘Value must not be empty’ or an execution error. Here is the output bundle from the last failed run: ‘The module fails to output the invite_link bundle.’]”

:link: Create public scenario page

Hi @The_Code_brut

I can see you’re using a webhook have you run it once to ensure make has all the data sent through the webhook so the scenario knows what to expect? If yes, please confirm the data types and format to ensure everything is valid.

Also remember you’ll have to activate the scenario and then send test data through the webhook so that the module can receive actual values and try to create an invite link. Without that mandatory step it will always return empty.

Cheers.

Welcome to the Make community!

I have no issues with mine,

And your channel ID is hard-coded within the module itself, so it has nothing to do with a variable mapping.

Hence, the issue is narrowed down to either the connection & bot permissions for the channel.

Hope this helps! If you are still having trouble, please provide more details.

@samliew