Now that IFTTT Pro is out you can make this even more powerful. Hereâs the code to add todays date to an input: Use date picker in the API via voice (IFTTT Pro)
This is insanely usefull. Even though it only works in some languages.
If you want to take this further and have IFTTT Pro, they have a new recipe feature called a âfilterâ which lets you transform data with javascript as it flows thru your recipe.
Here is the code I use to transform the word âtomorrowâ in the notes I add to dynalist into the ! formatted date for tomorrow, as it flows via voice into my Google Assistant. Sorry if thatâs confusing, just providing some inspiration here:
let today = (new Date(Date.now() - (60000 * 8 * 60) + (60000 * 24 * 60))).toISOString().slice(0, 10);
let varText = GoogleAssistant.voiceTriggerWithOneTextIngredient.TextField + ' !(' + today + ')';
let varBody = '{"token":"doooooooooooooongs","content":"' + varText + '"}';
MakerWebhooks.makeWebRequest.setBody(varBody);
This all is really great but Google Assistant interrupting you when you do even a slight pause while speaking out your note ⌠What is your recommendation on that?
Google Assistant interprets ~1-2 seconds silence as End of Command. Thereâs no way to change that as far as I know. They have to balance simplicity with speed.
You either need to repeat the command, or say a filler every second - âuhâ, âermâ, âumâ. Google automatically ignores fillers but it does extend the time while you think of what to say.
If you want to dictate using Google speech recognition without any timeouts, these are the 3 options Iâve found:
- https://dictation.io/
- http://doc.new Tools> Voice Typing
- https://www.android.com/accessibility/live-transcribe/
There is also the Dictate button on Macbooks, but it times out with silences too.
Thanks a lot. I will try these methods out.
Thanks for sharing. Sounds like itâs such a simple hack in hindsight. I canât believe I didnât come up with it myself. Seems like it will take a few hours to get used to. I will see how it goes.
Hi @BigChungus, Iâm wondering how I can make this work by typing text in a field and send it to specific locations inside dynalist?
How it would work: I tap an icon on my Android homescreen -> text field appears -> I type text into it -> the text is stored at desired location inside Dynalist.
I would like to have several icons on my homescreen for sending texts into specified locations inside Dynalist.
I used to do this with Quick Dynalist on my Samsung Galaxy S9, but since I have upgraded to S20+ recently, Quick Dynalist has not been working (due to the wellknown sync issue).
âparent_idâ tells it which node to send it to in dynalist
Yes sure. I want to type out the test string instead of speaking out the string to google assistant.
thats fine
you can use IFTTT directly if you have android
use IFTTT Note as the input instead of google
Okay, I tried this. I believe Iâm doing everything correctly.
Still Iâm not getting the text inside Dynalist.
I changed {{TextField}} to {{NoteText}}. And I tried with all three options in the Content Type
Also, there is another action field called Additional Headers
Should I do anything about it?
Tried using the IFTTT Note with Gmail to send email to myself and it worked. Not sure why it isnât working with Webhooks for Dynalist.
If you have mac or linux you can test your webhook with curl
TOKEN="sfdgkljdsflkgjdsflg"
CONTENT="blah"
curl --header "Content-Type: application/json" \
--request POST \
--data "{\"token\":\"${TOKEN}\",\"content\":\"${CONTENT}\"}" \
https://dynalist.io/api/v1/inbox/add
I have Windows.
Its working now! Not sure what changed. I think I was skipping the node part because I wanted to paste into the main document. Also I was using a version of this app on IFTTT that I had created few months ago for google assistant. So that was probably the issue.
Thanks!
By the way what should I change in the script if I would like to write inside a document and not inside a node?
I have tried inputting
âparent_idâ:"",
and
âparent_idâ=false,
and
âparent_idâ=null,
but none has worked.
If the document is your inbox you could change it to https://dynalist.io/api/v1/inbox/add
otherwise idk
maybe the docs have clues https://apidocs.dynalist.io/#make-change-to-the-content-of-a-document
I tried with https://dynalist.io/api/v1/inbox/add as the URL. It is just posting blank new lines into my inbox.
Update:
Got it. I succedded with the following:
{
âtokenâ: âXXXXXXâ,
âindexâ: -1,
âcontentâ: â{{NoteText}}â,
âcheckedâ: false
}
Thanks! You were really helpful in helping to deal wtih QD sync issues that I have been facing since upgrading my phone from S9 to S20+. I feel like I am somewhere now
Found the solution!