title: SharePoint workflow to update list based on folder name in separate document library
body: <p>I need a SharePoint workflow that will update a list (Accounts Tracker) item when a file is uploaded to a specific folder in a separate document library (Accounts Documents). The name of the folder will correspond to the line to be updated in the list.</p>
  
  <p>So, as an example:</p>
  
  <ol>
  <li>User uploads document to 'Entity 1' folder within 'Accounts Documents' library.</li>
  <li>Workflow updates a line in 'Accounts Tracker' with the title 'Entity 1' is automatically based on the folder name in the 'Accounts Documents' library.</li>
  </ol>
  
  <p>The question is how does the workflow reference the folder name in the library to update the correct line in the list?</p>