Is there a way to get just the body of the current draft in JavaScript?

I’m trying to create a Things task using the built in Things support.
The lines in question are:

task.title = draft.title;
task.notes = draft.content;

Unfortunately, this repeats the title in the notes of the Things task.

Is there a way to just get the body as is returned by the [[body]] template tag?

Thanks - LG

draft.processTemplate("[[body]]")

1 Like

@dfay is right. Applicable documentation on the Draft object reference.

It’s been right in front of me this whole time!! Thanks @dfay and of course @agiletortoise