If you are calling Day One from Drafts with a simple URL call…
Drafts can set custom tags - kind of like a variable. See setTemplateTag().
You could assign the content of the draft to that tag and pass that instead of the draft content as the parameter to Day One. This would allow you to also clear the ontent of the draft before calling out to Day One.
If you are calling Day One from Drafts with an x-callback URL call…
Once you are returned to Drafts, if you have set the option to wait for a response, the Draft will continue execution of the action. Adding an action step after the x-callback to clear the content of the draft would be a simple addition.
If there’s parts that don’t currently make sense to you that you want to understand more about, and you can’t figure out on your own, just post here. I’m sure I or someone else would be able to clarify. But a bit of research on your part will go a long way in forming your own understanding.
The second section is about as straight forward as it gets, but it does need you to understand Drafts actions, and in particular the very basics of script steps.
Bear has note links and note unique identifiers, but I’m stuck here at this step bringing the text field into the Bear notes as it is possible with the Drafts action where it says “Add text to draft”. Does anyone know if that’s possible with Bear?
I really can’t figure out how to do it the way it works in Drafts. The result I keep getting is this, instead of the text field that I compiled from the list
That’s the symptom, but we can’t see what you have done. Can you share what your shortcut is currently?
At the moment I can’t for sure if you chose to go back to URL schemes, or if you chose to just use the simpler approach of using the Bear actions as I suggested above.
Unfortunately screenshots are not easily tested. Could you consider sharing using the usual sort of link to download? This saves a lot of manual effort trying to re-enter, and it also ensures that any translation based on localisation is automatically carried out for the actions (if not the contents).
Once thing I can immediately see is that you are using URL schemes. Did you try using the built in actions? If not, would you consider trying that?
I am trying to using the built-in actions from Bear. The problem is getting the text field incorporated into the Bear action like it is in the Draft action
Okay, looking at the shortcut I could confirm what the screenshot suggested in that you were passing in a URL to bear rather than the data. I think you just needed to drop that URL action.
I note that the note ID is static and the date format being included in the note is just the time. How are you planning on tracking the day in Bear that any entries relate to? Are you going to share it out to Day One each day and clear the Bear note down to nothing again?
Thanks sylumer that work perfectly!! Now I’m eager to learn what the fastest way to that accumulated Bear note to a new entry in Day One at the end of the day. Any suggestions?