Passing in task content to Automations doesn't appear to include the links from linked text
j
josh-stephens
I created an automation that triggers on completion of a task, and the @Task Content variable used in the next step which is an "Ask AI" step doesn't seem to pass through urls that are linked via text.
Here's the flow url:
Log In
r
ryantaskade
Hi there, thank you for the information, I can see that your input field for the first Ask AI step is blank, could you please add the Task content variable using the @ symbol in the input field and try again?
j
josh-stephens
ryantaskade Oh, so it's because putting the @Task Content in the Prompt field makes it just plain text? I ran into issues trying to use the Input field but I can't recall what exactly they were. I guess I'll reconfigure back and probably remember the problem when I hit it.
r
ryantaskade
josh-stephens: I'm not sure if i understand you correctly, the task content will always be a plain text.
In the Ask AI action, the prompt is like a command, while the input field is the subject. Therefore if the subject is empty, it is very likely that "command" will fail.
j
josh-stephens
ryantaskade:
If a task contains hyperlinked text, how can I preserve the links through an automation workflow?
Also just want to mention that the method I used was to put the task content into the prompt directly and leaving Input empty works fine... I'm not even sure why the Input field would be better to use if the incoming content is plain text no matter what anyway, can you please explain that?
r
ryantaskade
josh-stephens: Ah i see what you mean, thank you for the clarification, hyperlinks aren't preserved when passed into an automation, the link needs to be explicit like https://www.google.com/
We will take note of this.
The input field is sent as a Human message. The prompt field is sent as a System message. System messages serve as a guide or framework for the AI's operation, while human messages are the main content that the AI processes to generate responses.
You can purely use the prompt field if you want and if you find the output satisfactory.