Does your rest call return a boolean or a status message? If its a boolean, you can use an exclusive split with this boolean as a condition, where true will call the show home page activity, and false can show an error message.
or you can apply an import mapping and use the exclusive split to check one of the values from the object that you import.