running this recipe before put api condition