Action

Groceries to Things

Posted by nahumck, Last update over 4 years ago - Unlisted

This action takes a list of items and sends them to a pre-defined “Grocery” list in Things. Requires the Send to Things action by Tyler Eich.

Steps

  • prompt

    promptKey
    prompt
    promptTitle
    Project/List
    promptMessage
    Choose a project/list
    promptButtons
    Grocery|Costco|Shopping
    includeTextField
    false
    textFieldDefault
    includeCancelButton
    true
  • script

    var listName = draft.processTemplate("[[prompt_button]]")
    
    // add @ listName as the first line of the draft
    draft.content = "@" + listName + "\n" + draft.content
    draft.update();
    
  • includeAction

    name
    Send to Things

Options

  • After Success Trash
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.