Groceries to Things

Posted by nahumck, Last update 3 months 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
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.