This showcases the 2 types of integrations that can be done from the Amazon Echo, direct integration and IFTTT (If This Then That).
The former is done directly through the Amazon Echo app. The screenshot below shows how I added 2 Devices to a Group called Fan. The Echo is then able to recognize the command "Alexa Turn On Fan".
The latter is done via the IFTTT website. The screenshow below shows how I added 2 recipes connecting the Echo to the Logitech Harmony Hub, where I have a Watch TV activity already setup. The Echo is then able to recognize the command "Alexa Trigger Turn On TV".
Note the difference between direct integrations and IFTTT integrations, where there is an additional "Trigger" word used.
When you watch the video at the end, you will also note that the lag time from command to activation is slightly longer also.
And the video below shows how it looks like when I put both together!