Hi Mike,
We still have some work on account linking, especially on documentation, but here is a short explanation that can serve you.
First you have to configure your skill to support account linking. You can check how to do that in our documentation https://convoworks.com/docs/publishers/platforms-configuration/amazon-alexa/
If you are going to link your WordPress user, choose the “Installation” Account Linking Mode. For easier testing, I would suggest you uncheck the “Allow users to enable skill without account linking” option.
After that, the users who wish to enable your skill (in Alexa web or mobile app) will be redirected to your website and will have to log in. When you want to startower and test the workflow again, disable the skill and logout from the website.
In your skill use the “Init current auth user” element from the convo-wp-core package. When the service is executing and it comes to that element, if the user is not linked, it will prompt him to link the account and will end the session. If the user has a linked account, after the element you will be able to access the user object with expression language. Element stores the user in the request scope, meaning that it is available only in the current request. So, anywhere you need to access user data, just place that element in the workflow and you’ll have it.
User which is resolved is Convoworks user object (it contains id, name, email, username). If you want to access the WP_User object you can get it with ${user.wpUser}. You can also load wp users by using the get_user_by WP function: ${get_user_by(‘ID’, user.id)}.
Hope this helps