Inspiration

I was always curious and fascinated about chatbot. Played with chatbot builder Dialogflow earlier. I always wanted to build something useful with AI chatbot

What it does

It triggers CICD pipeline in GitLab from a remote chatbot through web or Mobile phone

How I built it

I used Dialogflow CX an NLU backed AI technology to build an interface which will allow user/devs to trigger a CICD pipeline at GitLab via an API call using access token generated at GitLab end. I used Webhooks behind Dialogflow chatbot to trigger these API.

Challenges I ran into

My Google cloud platform account email is not a workplace email so even if I make necessary configurations I was unable to use Dialogflow integrations in the project to give a public access to chatbot I built as GCP doesn't allow private emails (mine is a gmail email ID) to read from Google chat API even If I enable it. Still I have deployed a Dialogflow messenger bot which can be accessed at http://13.234.189.236/ but its just UI. Apart from this I was able to develop project as soon as possible

Accomplishments that I'm proud of

I was able to successfully develop chatbot functionality and Gitlab CICD without fail. Which is the whole essence of the software solution I built.

What I learned

  1. How to setup CICD pipeline
  2. How to build chatbots backed by webhooks in DIalogflow CX
  3. How to trigger CICD pipeline using APIs and Access tokens.

Built With

  • dialogflowcx
  • gitlabcicd
  • googlecloudfunctions
Share this project:

Updates