Share feedback, ideas and get community help

Updated 3 months ago

More date input Block do not work

Hi community.
Being that look like to be not easy (or impossible "for now") to sho records in in range of date --> https://discord.com/channels/1155799591220953138/1186571239121240115 i've tried to create a block with more date block one after an other so that user, after to have chosen number of days, can insert the date but happen that after to insert the forst date the flow do not continue to the next.
Is there something of strange in that i am trying to do?
Attachment
image.png
B
M
12 comments
I'm not sure to understand the issue, can you provide more details?
If I enter several input fields in a block to collect the date it only stops on the first date and does not continue on the second date and so on.
My goal was to collect different dates so as to create an output message that predicts the results for each individual date collected.

So I was hoping to get around the problem of not being able to use a range of dates
Can you share the bot link? (to baptiste@typebot.io if confidential)
Here Scripts

Testo

let text = 'DISPONIBILITÀ PERSONALE PER IL GIORNO - ' + {{SelezioneData}} [0] + ' -\n\n'

{{SelezioneData}}.forEach((date, index) => {
text += {{Nome}}[index] + ' sarà ' + {{Stato}}[index] + '\n\n'
})


return text;


Testo2

let text = 'DISPONIBILITÀ PERSONALE PER IL GIORNO - ' + {{SelezioneData2}}[0] + ' -\n\n'

{{SelezioneData2}}.forEach((date, index) => {
text += {{Nome}}[index] + ' sarà ' + {{Stato}}[index] + '\n\n'
})


return text;
I've created a new clean flow, without all the others blocks, on thatto manage only the dates and now it continue and take the differents dates but the output is related only to last date inserted and not to both.
When you can take a look to --> https://app.typebot.io/typebots/clqktiua40003l60fwcw6zl9g/edit

Thank you and merry christmas
I really do not understand what you're doing with this bot 😅
The 2nd Google Sheets block will overwrite the first block variables
that's expected
You need to create specific variables for each Google Sheets blocks
It is surely my fault that I cannot explain myself well and expose the situation correctly.
My goal is to be able to collect the work availabilities of staff who enter the date and availability (so far so good and it works)
These staff will also need to be able to change, later, their availability (again, everything is fine and working)
However, the management needs to view the availability issued by the staff and as long as it is a single date, it works correctly but if I need a range of dates (From To) no it works as you explained to me earlier.
For this reason I have been looking for an alternative solution by collecting N different dates in N different variables and then later having N outputs showing me the availability for each requested day.
Unfortunately, this is not working
Add a reply
Sign up and join the conversation on Discord