Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script block for WhatsApp #1521

Closed
lewiswilliam opened this issue May 20, 2024 · 3 comments
Closed

Script block for WhatsApp #1521

lewiswilliam opened this issue May 20, 2024 · 3 comments
Labels
Bug 🐛 Something isn't working

Comments

@lewiswilliam
Copy link

lewiswilliam commented May 20, 2024

Feature request - Support script block on whatsapp for server side execution

As per documentation, we can see that script block will be skipped for WhatsApp. My understanding of this restriction is due to the fact that we can't run the scripts on the client for WhatsApp or is there any other reason?

Any chance we can be allowed to execute scripts on server in future for WhatsApp?

@lewiswilliam
Copy link
Author

lewiswilliam commented May 20, 2024

Pasting the reference discussion from Discord here:

Baptiste — 05/17/2024 1:25 PM
What would you like to execute with the Script block?

William Lewis — 05/17/2024 3:27 PM
i am getting a string input from the user, from which i need to do some processing on it...say substring it by removing some characters
I think as we create more useful bots...script blocks are going to play a major role in them...

Claudio Balbino — 05/17/2024 7:23 PM
Hi William Lewis ,
You can use the Set variable block to do this
Select in Value = Custom

William Lewis — 05/17/2024 7:25 PM
thanks for pointing that out Claudio Balbino , did not see that earlier
will need to do it for each variable though, as i have a few 🙂

@baptisteArno
Copy link
Owner

Script block (if client-side execution is unchecked) should work on WhatsApp.

@baptisteArno baptisteArno closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
@lewiswilliam
Copy link
Author

Hi @baptisteArno

https://docs.typebot.io/deploy/whatsapp/overview#limitations

I think you should update here according to your comment, because here it mentions that script block will be skipped for whatsapp.

@baptisteArno baptisteArno reopened this Aug 14, 2024
@baptisteArno baptisteArno added Content 📝 Improvements or additions to documentation Bug 🐛 Something isn't working and removed Content 📝 Improvements or additions to documentation labels Aug 14, 2024
@github-project-automation github-project-automation bot moved this to Backlog ☁️ in Typebot Aug 14, 2024
@baptisteArno baptisteArno moved this from Backlog ☁️ to In progress 🔜 in Typebot Aug 14, 2024
@baptisteArno baptisteArno moved this from In progress 🔜 to Reviewing 👀 in Typebot Aug 14, 2024
@github-project-automation github-project-automation bot moved this from Reviewing 👀 to Deployed 🎉 in Typebot Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Something isn't working
Projects
Status: Deployed 🎉
Development

No branches or pull requests

2 participants