How do I make a telegram bot to send all the lines from a .txt file stored in Box separately?

As you can see, by default it’s trying to send all the content of the file at once and it fails cuz it’s too long. Any help would be highly appreciated!

Welcome to the Make community!

You’ll need to convert the file data into text, then split the text by newlines.

If you need more help, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.json file, and upload it here into this discussion thread.
Screenshot_2023-10-06_141025

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

@samliew Could you please tell me in details how to do that? I’m new to this. All I did so far was me following a guide ChatGPT provided lol.
I’m more than sure that pretty much everything that matters could be seen on the image I uploaded. It’s just a Box module (tried to add a Google drive one but for whatever reason there was a problem with authentication) which is set to Download file and the selected file is a .txt document: a list with over 1k lines. And I need every line to be sent separately.

If you could provide the requested details I can help further.

3 Likes

There you go.

blueprint.json (6.2 KB)
bundle.json (403 Bytes)

@samliew What’s up with the help?

I really appreciate your help. You’re a lifesaver!!!