i make a openai asistant with a function for say him the time thats it. Now i make a other scenario that runs when the code is necesary when d+the chatbot needs to know what day is today. So how in other escenario i run a webhook that gets information of what say is today and sent to the webhook of the chatbot
Welcome to the Make community!
You can get the current date using the special Make variable now
e.g.:
{{now}}
To format the date into whichever format you want, you can use the built-in function formatDate
According to the Tokens you can use to format a date variable, you can use DD/MM/YYYY
.
e.g.:
{{ formatDate(now; "DD/MM/YYYY") }}
For more information, see Date Format links below.
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —
Getting Started
- Help Centre | Tutorials – Make “Manual”
- Make Academy – Basics 101: Learn Make and get certified
Help Centre Basics
- Mapping – What is mapping? What can I map?
- Mapping with arrays – How to map items in an array
- Aggregate an array for mapping complex fields
- Date Format: tokens for
parseDate
| tokens forformatDate
- HTTP modules – Make a request, Get (download) a file
- Webhooks – Error Handling, Responding to webhooks
Articles & Videos
- Router Magic Formula - YouTube
- Error Handlers in Make - YouTube playlist
- Getting started with OpenAI - How to setup and use OpenAI (ChatGPT) in Make
- How to use Regex in Make - How to use pattern matching to extract the text you want
- Webhooks – Make Academy – tutorial on how to use Webhooks
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.