A robust composite hydrogel consisting of polypyrrole and β-cyclodextrin-based supramolecular complex for the label-free amperometric immunodetection of motilin with well-defined dual signal response and high sensitivity.