Exporting a list of haves/swaps/wants from SWDestinyDB

This post is basically only relevant if you use SWDestinyDB to keep track of your Star Wars: Destiny cards, and you’re an iOS user. If you fit that bill, welcome! If you don’t, this post will be either boring, bewildering or both, I’m afraid.

Workflow is an app for iOS that lets you automate certain actions. It’s one of the foundational aspects of the iOS 12 feature Siri Shortcuts, so the workflow for Workflow which I outline here should also work in Shortcuts1. Federico Viticci has written both an excellent guide to getting started with Workflow and a sneak preview of the new Shortcuts app if you’re not familiar with how they work and want to read more.

I recently decided to write a workflow to easily export lists of my Star Wars: Destiny swaps or wants. I’ve written about the Workflow app before but I’ve recently started using it for more and more complex things, which has encouraged me to embark on this particular project. SWDestinyDB is really great for keeping track of the cards you own, and for building decks, but it’s completely lacking any feature to export a list of swaps or wants, which is annoying given that this is a relatively frequent thing to want to do.

This slideshow requires JavaScript.

So, how does my workflow work?

  1. Install the workflow by tapping here on your iOS device.
  2. Go to SWDestinyDB.
  3. Filter for the list of swaps or wants that you want to post.2
  4. Hit the share icon, select ‘Run Workflow’, and select ‘Copy Destiny Cards’.
  5. Choose whether you want a list of your swaps or wants and how many cards are in a playset (see Caveats below).
  6. An alert will pop up to let you know the list is on your clipboard.
  7. Paste the list wherever you want!

I find this super useful for quickly and easily posting lists of my swaps and needs on my local meta’s Facebook group so that people can sort me out for uncommons/rares that I have managed to avoid getting. I hope you find it useful too!


  1. I use Safari, and I don’t know whether this workflow will work in Chrome or anything else. If you use Chrome, and this workflow needs tweaking to make it work, let me know and I’ll update this post.
  2. The workflow assumes that you need the same number of cards for a complete playset of each card. Therefore, you should generate lists of battlefields/plots separately to lists of other types of card. It also means that if you want five Jawas, or four copies of the new TIE Fighter card in Across the Galaxy, this workflow won’t handle that well. It’s possible that I’ll update this to handle those sorts of things automatically in future, but for now they’ll need editing manually.

  1. At the time of writing, I haven’t had the opportunity to test this, as I’m not in the beta for the new Shortcuts app. 
  2. So, for example, I might limit my search to ‘Way of the Force’ and use c<2 to find only the cards I need from the new set. 

Workflows in Workflow

I have recently been discovering an iOS app called Workflow, which is basically a tool similar to Automator, but available on the iPad. In this blog post I just want to share a couple of workflows that I’ve written for the app, which I’ve been finding useful. (Obviously, your mileage may vary.)

Firstly, a workflow that lets me easily mail links to myself for later. I generally use Instapaper, but sometimes I want to come back to a page on a schedule, rather than just catching up with it when I go through my Instapaper queue. As a result, I wrote a quick workflow that will take the link of the current page, called Email Myself.

Bookmarklet replacements

I’ve been using bookmarklets in Safari to open pages in other apps for ages, but this has the disadvantage that these bookmarklets can only be used from Safari. If I’m reading a webpage in Reeder, for instance, I have to open it in Safari before I can use a bookmarklet to open it in another http://www.mindanews.com/buy-levaquin/ app. Workflows allow me, in essence, to use a bookmarklet from any app, via the share sheet.

The first workflow that takes advantage of this allows for a Tumblr post to be opened in Tumblr.app. This is handy if you read Tumblr through an RSS reader like I do, since it allows easier reblogging. Open in Tumblr.app is the workflow, and I actually constructed this myself by using Safari on OS X to deconstruct the way in which Tumblr.com can call Tumblr.app.

The next workflows allow for pages to be opened in Tweetbot, my iOS Twitter app of choice. Find User in Tweetbot and Find Tweet in Tweebot are both fairly self-explanatory, and both allow me to avoid using the Twitter website as much as possible.

Finally, a workflow for Basil simply opens the current webpage in Basil. Open in Basil is a very simple workflow and is based upon the bookmarklet that the app itself presents to users.

I hope someone else finds these workflows useful, and I heartily recommend the app!