Step by step question to ask house owner

Trying to know how to analyze a potential wholesale deal. What are the most important questions to ask the owner inorder to determine if its a deal worth persuing.
Tanx

What kind of repairs are needed

How much they owe on the house

(If there’s enough equity for a possible wholesale deal) If you paid all cash and closed quickly what’s the least they could accept