Importing Action with Script step results in Error

Steps to produce:

  • Open an action with Script step, e.g. `Indent`
  • Copy it as URL/deeplink
  • Open the link to import back into Drafts
    Import Error

Actions without Script step aren’t affected by this issue.

Cannot reproduce that here on either iOS or Mac.

More details, please?

  • Drafts Version
  • OS Version
  • Device
  • How are you opening the URL?

I’m on macOS 26.3, with the latest release of Drafts.

I tried opening it via Shortcuts and Keyboard Maestro.

Paste it in Safari, you’ll see it works fine.

Not sure what Shortcuts or KM are doing with encoding, but they are clearly altering the URL. If, instead of a “Text” action in Shortcuts, you paste it in a “URL” action, it works - so I guess it is doing some sort of encoding to the URL if you put it in the text item.

1 Like

@agiletortoise Thanks for pointing that out. The deep link works fine via JXA too, which is enough for my scriptable workflows, given that `data` in the deep link format is JSON already.