All Questions
14 questions
0
votes
1
answer
69
views
How should I edit the code for sending messages from Google Script to Discord?
function doPost(e) {
// ตรวจสอบว่ามีข้อมูลส่งมาจาก Tradingview เข้ามาหรือไม่
if (!e || !e.postData || !e.postData.contents) {
return ContentService.createTextOutput("No POST data received....
1
vote
2
answers
113
views
How to add if and date in google script
I am a beginner with code script. Can you help me with my function please?
I have bot and he send data to google sheets, he send name, phone, date and method of communication. I need that google ...
0
votes
0
answers
46
views
Send 2 slack messages with 1 Google Forms answer - 1 as new message and 1 as its reply [duplicate]
I have a Google Apps Script script from a spreadsheet to send an automatic message to slack (and an auto-reply email) when a Google Form answer is submitted. How do I send 2 slack messages in 1 script,...
0
votes
1
answer
321
views
Send dm to several people in slack using google script
i want to send dm to several people in slack using google script. i have all their webhooks. but i dont know the code to send it using several webhooks.
message error :
Exception: Invalid argument: [...
1
vote
0
answers
656
views
How to send a slack response that all is OK, operation_timeout error
I'm trying to do a slack slash command.
This command get a text in this command, than go to google sheet and lookup it. The result of lookup sent like a message to the slack to channel.
And i am in ...
0
votes
0
answers
513
views
How to use a Web App URI as a webhook callback URI?
I'm trying to create a Web App with a doPost() method. This POST method should receive and answer the POST request from the Webhook with a Challenge, and receive the corresponding JSON that will be ...
5
votes
2
answers
2k
views
Debounce or throttle event handler in Google Apps Script
I'm looking for a neat solution to debounce or throttle a webhook call used in a Google Sheets Apps Script handler. Creating a simple trigger like onEdit or an "installable trigger" for other changes ...
-1
votes
1
answer
60
views
Getting data from JSON (i think)
I hope someone here can help me with this as i am at a loose end. I have a little experience with programming (variables, etc) but not much at all with Javascript, JSON and many others.
Unfortunalty i ...
0
votes
1
answer
46
views
.after don't read the var value
When I use this code even if I change the value of the "seconds" variable, it always starts the "PresaTavOff" function at 1 minute and 20 seconds, even if as a value 50 seconds or 1 second
function ...
-1
votes
1
answer
604
views
Obtain object valus in a JSON array with Google Apps Script (WooCommerce Webhook)
I have a WooCommerce webshop, which sends the created orders to a Google Spreadsheet using a webhook. I managed to make it work, except for one (crucial) step: I cannot seem to properly loop through ...
0
votes
0
answers
417
views
dialogflow how to play the next time available from google calendar
how are you? English are my native language, so I apologize right away.
what I have is a bot in the dialogflow, which with some interactions marks events on the agenda.
an example:
Bot: hello ...
7
votes
1
answer
14k
views
How to create webhook from Google Apps Script using the "exec" url rather than "dev" url. Exec returns 403 Error
Been attempting to set-up a webhook in Google Sheets Apps Script that will respond when changes are made in Trello. To do this, it's suggested to deploy the script as a web app (requiring doGet and ...
0
votes
1
answer
716
views
How to listen for Telegram Bot errors? (Google App Script + Webhooks)
I have developed a fully functional Telegram Bot with Google App Script that uses Webhooks to read and write into a Google Spreadsheet.
Although the bot is stable, sometimes it crashes due to ...
3
votes
1
answer
465
views
Use a GAS published web app as a handler for Drive push notifications
How can I use the Drive's Push Notifications API in conjunction with the GAS Published app?
I've setup the folowing App below that appends anything that receives via GET/POST into this sheet for ...