Skip to content
callin.io workflow ...
 
Notifications
Clear all

callin.io workflow with Jenkins and AI agent

8 Posts
3 Users
0 Reactions
4 Views
Prince_Stanley
(@prince_stanley)
Posts: 4
Active Member
Topic starter
 

I am new to callin.io and would like to know if there is a way to create a workflow with Jenkins, a chat trigger, and an AI agent to trigger a pipeline based on chat inputs, such as the job name and any necessary parameters for the pipeline to run.

What is the error message (if any)? NA

Please share your workflow NA

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your callin.io setup

  • callin.io version:
  • Database (default: SQLite):
  • callin.io EXECUTIONS_PROCESS setting (default: own, main):
  • Running callin.io via (Docker, npm, callin.io cloud, desktop app):
  • Operating system:
 
Posted : 01/04/2025 3:03 pm
Franz
(@franz)
Posts: 9
Active Member
 

Yes, this is achievable with callin.io. You can set up a workflow that starts with a chat trigger, then connects to an AI Agent node, which can then initiate Jenkins jobs.

The AI Agent is capable of utilizing Tools. Each Tool should provide a precise description of when, how, and with which parameters it should be invoked. This functionality generally performs well, depending on the specific model and its configuration.

Should you have several Jenkins jobs requiring different parameters, it's advisable to create a distinct Tool for each job, accompanied by very explicit instructions. This approach enhances both accuracy and management.

 
Posted : 01/04/2025 3:18 pm
Prince_Stanley
(@prince_stanley)
Posts: 4
Active Member
Topic starter
 

Thanks for your response, but manually adding the Jenkins tool for every pipeline job would be quite tedious, especially if there are multiple pipelines in Jenkins. Is there a way to automatically select the job name directly from the chat trigger?

 
Posted : 01/04/2025 3:51 pm
Franz
(@franz)
Posts: 9
Active Member
 

This example demonstrates how to utilize an AI Agent node to invoke a custom workflow. This particular workflow is designed to trigger a Jenkins job.

To use a workflow as a tool, you must define its parameters. The Accept all data option is not suitable in this scenario.

If your intention is solely to pass a job name, that approach works effectively.

However, managing multiple parameters introduces complexity. Dynamic parameters are not supported. You will need to predefine all potential parameters and assign null values where they are not applicable.

It's also crucial to guide the AI Agent on which value to use for each specific parameter.

 
Posted : 02/04/2025 5:19 am
Prince_Stanley
(@prince_stanley)
Posts: 4
Active Member
Topic starter
 

Thanks for the workflow, but the callin.io workflow tool isn't getting triggered, and as a result, the sub-workflow isn't working either. How do I pass jobName from the chat? Does it need to be in a specific format?

 
Posted : 03/04/2025 11:37 am
Franz
(@franz)
Posts: 9
Active Member
 

To enable the Agent to use the tool, you need to provide a specific description.

To make the Agent use the tool, you have to add a specific description.

 
Posted : 03/04/2025 3:51 pm
Prince_Stanley
(@prince_stanley)
Posts: 4
Active Member
Topic starter
 

Thanks, I was able to trigger a Jenkins pipeline using the chat messages.

 
Posted : 07/04/2025 8:31 am
system
(@system)
Posts: 332
Reputable Member
 

This discussion was automatically closed 7 days following the last response. New replies are no longer permitted.

 
Posted : 14/04/2025 8:31 am
Share: