Pessoal, boa tarde
Tenho um cenário no qual obtenho um arquivo TXT que vem por anexo do gmail.
Ocorre que o TXT tem 65 linhas, eu gostaria de adicionar um módulo para ler o TXT, e criar 65 variáveis mapeadas, ou seja uma para cada linha do TXT, mas infelizmente não sei como.
Depois vou incluir as linhas linha 9, 16,17,32,34,45 e 46 no modulo InOut que tenho para enviar por whatsapp.
Good afternoon,
I have a scenario in which I get a TXT file that comes as an attachment from Gmail.
The thing is that the TXT has 65 lines. I would like to add a module to read the TXT and create 65 mapped variables, that is, one for each line of the TXT, but unfortunately I don’t know how.
Then I will include lines 9, 16, 17, 32, 34, 45 and 46 in the InOut module that I have to send via WhatsApp.
Welcome to the Make community!
When reaching out for assistance with extracting text, it would be super helpful if you could share the actual text you’re trying to match. Screenshots of text can be a bit tricky, so if you could copy and paste the text directly here, that would be awesome! It ensures we can run it against test patterns effectively. If there’s any sensitive info, feel free to change it to something fictional yet still valid by keeping the format intact.
Providing clear text examples saves time on both ends and helps us give you the best possible solution. Without proper examples, we might end up playing a guessing game, and nobody wants that as it is a waste of time! You are more likely to get a correct answer faster. So, help us help you by sharing those text snippets.
Please format the example text this way to preserve line breaks and special characters:
These are the two ways to format text so that it won’t be modified by the forum:
-
Method 1: Type code block manually
Add three backticks ```
before and after the content/bundle, like this:
```
content goes here
```
-
Method 2. Highlight and click the format button in the editor

Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.
1 Like