I’ve checked prompt gen and its super cool and so. But it’s a disaster that I need to swap between the screens to generate it and copy-paste the entire thing.
Hey Karly! Unfortunately right now there is no easy-breezy way to reuse your flow, BUT there is one method though. It’s called sub-workflow.
Let’s do it by example.
You want to create a simple AI App Dads joke generator.
Ofc you can go with your prompting skills, but believe me. Rely on our mighty prompt gen.
- So first things first, you need to have an instance of prompt gen in your dashboard. Open a template and get back to your dashboard
So we have it on the dashboard. Great!
Remember this title.
-
Create an empty flow
-
Define your main logic. In our case that’s an GPT processor node. And we want to use some cool prompt from prompt gen.
-
Now add sub-workflow node
-
Connect sub-workflow node to the start node and gpt processor
-
Go to sub-workflow node. Double click it. You need to specify the flow you want to run. In our case that’s Prompt Gen Pack! flow
-
Click play button on the start node and on the sub-workflow node, so you will see the example params
-
So we need to replace the “reprehenderit” text to our task from the input node. Let’s do it.
Change type of the field params to expression by selecting it from the dropdown menu
-
Open it up and type something like {“task”:“”} and drag’n’drop the variable from the input. You will have something like this
Cool. Now we pass our task to sub-workflow node. Let’s pass the end prompt to chatGPT node -
Open the GPT processor node.
We need to create a system prompt message, keep it empty for now. Save.
And then change type to expression. Now open expression editor and select our prompt from the subworkflow node
-
Add user message
-
Voíla!
Totally agree, it would be awesome if the prompt generator was built into the interface. Developers, give it a thought, great idea!
Worked, buit It looks like a headache to me. Like I’m actually programming. Why would you name yourself a NO CODE platform and being more complicated than a simple CODE with gpt code interpreter?