Food that is made from grain (wheat, barley, rye, spelt or oat) but is not bread gets the blessing mezonot (מְזוֹנוֹת). This includes cakes and pastries, most crackers and cereals, pasta and other cooked grain products like farfel and couscous.
The blessing:
בָּרוּךְ אַתָּה יְ‑יָ אֱ‑לֹהֵינוּ מֶלֶךְ הָעוֹלָם בּוֹרֵא מִינֵי מְזוֹנוֹת
Bah-rookh ah-tah ah-doh-noi eh-loh-hay-noo meh-lekh hah-oh-lahm boh-ray mee-nay mi-zoh-noht.
Blessed are you L-rd our G‑d, King of the Universe, Who creates various kinds of sustenance.
Listen to this blessing
After eating Mezonot, say Al Hamichyah, the After-Blessing on the Five Grains, (click here for audio and text).
if I cook pancakes or scones using rice flour is the brachah mezonos and what is the after brachah please?
The brachah of mezonos applies to foods baked with rice flour. The after brachah is borei nefashos.