---
title: Functions use cases
description: Explore use cases for Scaleway Serverless Functions in various scenarios.
tags: functions serverless use-cases
dates:
  validation: 2025-06-09
  posted: 2023-04-24
---

Scaleway Serverless Functions can be used in many use cases:
* Automation for specific tasks
* Integration with your ecosystem to help scale specific routes of your code
* CI/CD integration
* Data analysis and processing
* Optimizing infrastructures with scaling from and to zero
* Decoupling software, and more

For a better understanding of Serverless Functions, we provide real-world examples in our [serverless-examples repository](https://github.com/scaleway/serverless-examples).
Here are some specific cases:

## Node - Interact with databases

This example shows how to connect to a managed PostgreSQL database and perform a query on it.

[PostgreSQL Node](https://github.com/scaleway/serverless-examples/blob/main/functions/postgre-sql-node/README.md)

## Python - ChatBot

This example shows how to handle different HTTP methods (POST and GET) as well as specific dependencies.

[Python Chatbot](https://github.com/scaleway/serverless-examples/tree/main/functions/python-chatbot/README.md)

## Go - Queues Publish message

You can use this example to publish a message to a Scaleway queue using the MNQ namespace from the Scaleway Go SDK.

[MNQ SQS Publish message using Golang](https://github.com/scaleway/serverless-examples/blob/main/functions/go-mnq-sqs-publish/README.md)

## PHP - Repository Badge Generator

This example demonstrates how PHP functions work using a dependency from Composer. With this example, you can generate a simple badge with the text, status, and color of your choice.

[Badge PHP Example](https://github.com/scaleway/serverless-examples/blob/main/functions/badge-php/README.md)

## Rust - Character recognition

[Rust Character recognition](https://github.com/scaleway/serverless-examples/blob/main/functions/rust-mnist/README.md)