Belonging to the technical field of medicine, the invention in particular relates to an amide TGR5 agonist compound shown as formula (I), its pharmaceutically acceptable salts, esters, stereoisomers, solvent compounds or prodrugs, wherein R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, X, Y, Z, and ring A are defined as the specification. The invention also relates to a preparation method of the compounds, pharmaceutical preparations, pharmaceutical compositions, and application of the compounds in preparation of drugs for treatment and/or prevention of TGR5 activity regulation related diseases. (formula (I)).