Continuously getting Run Action Error for callback

I am trying to set up a Keyboard Maestro macro that automatically runs a Drafts action when I create a new draft.

Specifically, I want to auto-tag the new draft with the tags of the workspace that the new draft is being created in.

When running the X-Callback URL, I keep getting a “Run action error”. I have tested using a test action group and a test action, but can’t seem to get the callback URL to work at all. Might I be missing a setting?


Here is the current x-callback-url (for the test, not my actual action)
drafts://x-callback-url/runAction?name=TestAction&actionGroup=Test

I don’t see action group as a valid option for the runActionoption in the scheme.

Try removing that part and running your action called “TestAction”.

1 Like

@sylumer is correct that actionGroup is not a parameter for that URL, but it would just be ignored. The problem is name is not correct, you want:

drafts://runAction?action=TestAction
2 Likes

Thank you, both. I’m completely new to Actions in Drafts and to callbacks in general. This has worked!

1 Like