Here is how I did something like this for a source.
The compare strings is looking at the sourceid. For your use case I would pull back the needed information on the account and then step into a compare string and compare the values from the account pull with the value you are looking.
