In the era of multi-messenger astronomy the exploration of the early emission from transients is key for understanding the encoded physics. At the same time, current generation networks of fully-robotic telescopes provide new opportunities in terms of fast followup and sky coverage. This work describes our pipeline designed for robotic optical followup of gamma-ray bursts with the Las Cumbrés Observatory network. We designed a Python code to promptly submit observation requests to the Las Cumbrés Observatory network within 3 minutes of the receipt of the socket notice. Via Telegram the pipeline keeps the users informed, allowing them to take control upon request. Our group was able to track the early phases of the evolution of the optical output from gamma-ray bursts with a fully-robotic procedure and here we report the case of GRB180720B as an example. The developed pipeline represents a key ingredient for any reliable and rapid (minutes timescale) robotic telescope system. While successfully utilized and adapted for LCO, it can also be adapted to any other robotic facilities.