I know this is probably just me being daft, but it took me a while to work out why I couldn't get this workflow to create tasks, and thought I'd mention it here in case it helps anyone.
These workflows will only work with Omnifocus Pro.
I don't have pro, just the standard version, and in console logs, I see this:
15/06/2016 07:41:40.732 Alfred 3[895]: [ERROR] AppleScript Error: {
NSAppleScriptErrorAppName = OmniFocus;
NSAppleScriptErrorBriefMessage = "Scripting OmniFocus is a Pro feature.";
NSAppleScriptErrorMessage = "OmniFocus got an error: Scripting OmniFocus is a Pro feature.";
NSAppleScriptErrorNumber = "-1743";
NSAppleScriptErrorRange = "NSRange: {293, 55}";
}
So now I just have to work out if I want to spend the extra $40 to upgrade