Help needed! Xiaomi button click > Call IFTTT webhook > Turn Sonoff ON

thank you. i have thought of that but i wasn’t sure if it is possible to do.
even though i am using openhab for months now, i have only been able to create rules with the rule engine which has UI. i have absolutely no idea how to do what you said. is there anyway that you can guide me?

i looked for this… Design Pattern: Unbound Item (aka Virtual Item)
but it was not helpful

thank you