Google sheets Telegram

What are you trying to achieve?

:us: Hello creators, I have a scenario where a telegram bot sends me personal information, with key-value, for example: Name: John and so on with many more data, the problem is that although in the telegram message they send each key-value with a line break, what I get to do is a variable called text with all the content separated by a space, for example: Name: John Email: juan@gmail.com, I need to send that information to a Google Sheets sheet where it has different columns with their respective headers and where Juan must go to a new row in the Name column and so on with each data, the problem is that it paints all the data as they come with a key value in each cell, for example the Name column, I have used iterators, variables directly in the outputs of the Google Sheets sheet, I used parser text and nothing allows me to paint each data in each column corresponding to each new row that is created, I need help please.

Translated with DeepL.com (free version)

What are you trying to achieve?

Hola creadores, tengo un escenario donde un bot de telegram me envía información personal, con clave-valor, por ejemplo: Nombre: Juan y así sucesivamente con muchos más datos, el problema es que aunque en el mensaje de telegram envían cada clave-valor con un salto de línea, lo que consigo hacer es una variable llamada texto con todo el contenido separado por un espacio, por ejemplo: Nombre: Juan Correo electrónico: juan@gmail.com, necesito enviar esa información a una hoja de Google Sheets donde tiene diferentes columnas con sus respectivos encabezados y donde Juan debe ir a una nueva fila en la columna Nombre y así sucesivamente con cada dato, el problema es que pinta todos los datos ya que vienen con un valor clave en cada celda, por ejemplo la columna Nombre, he usado iteradores, variables directamente en las salidas de la hoja de Google Sheets, he usado texto analizador y nada me permite pintar cada dato en cada columna que corresponde a cada nueva fila que se crea, necesito ayuda por favor

1 Like

Hi @Dosalia

Use AI tools by Make to extract such info from text using a simple prompt, input and fields info to extract, which can be mapped easily to google sheet

Refer these 2 screenshots for setup


And if you are on a free plan, may be we need to check the output you are receiving from telegram, so we can create some formulas to extract each piece of information. or you can connect any other AI service if you using one.

Let me know what works for you!

Best,
@Prem_Patel

1 Like

:us: Friend, @Prem_Patel thank you very much your answer helped me 100% with the solution I did what you suggested and it is working as I needed it to do, add that if not for your suggestion I do not know that AI module because I have the free plan does not appear in the tools panel. Thank you very much @Prem_Patel

Amigo, @Prem_Patel muchas gracias tu respuesta me ayudo al 100% con la solución hice lo que me sugeriste y esta funcionando como necesitaba que lo hiciera, agregar que si no es por tu sugerencia no conozco ese modulo de IA ya que por tener el plan gratuito no aparece en el panel de herramientas. Muchas gracias @Prem_Patel

1 Like