Take a look at this tutorial http://home.pct.edu/~jmather/content/DSG322/Inventor%20Tutorials/Inventor%2011%20Tutorial%2011.pdf
from your description I suspect you are looking for only one side rather than the groove. There is an easier method using the guide surface sweep, but I don't have an example of that on hand at this time. Be very very careful that you get the correct geometry - I tried when the guide surface sweep feature became available but was not able to get what I wanted. Later a Desker posted a solution here that appeared correct but I haven't had time to investigate the solution to re-write the tutorial.
Also, if you have Inventor Professional there is an alternate method using Dynamic Simulation. I can post the link to that solution if you have DS.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional