Sync customer data from MySQL via Service
Recipe ToolsDatabaseMarketing
What it does
When a call arrives for LeeCliente, this automation queries the Cliente table in MySQL. Someone receives the complete customer array in real time so downstream systems have current data.
Who it's for
Data and analytics teams who need to retrieve customer records from MySQL without manual database queries.
Apps used
How teams use this
Fetch all customers for reporting
Pull the entire Cliente table from MySQL in one call and use the array for analytics dashboards or exports. The automation handles the database query so analysts skip manual steps.
Integrate customer data into a CRM
Route the customer array from MySQL into a CRM system so sales teams have synchronized records. Only the destination system changes while the query logic stays the same.
Filter customers by status before returning
Add a condition to the MySQL query so only active customers are included in the array response. Set a where clause to exclude inactive records from the dataset.
How it works
- Receive the LeeCliente call. A real-time call arrives for LeeCliente with a request to fetch customer data from the MySQL database.
- Query the Cliente table. MySQL selects all rows from the Cliente table and retrieves the complete customer dataset as an array for the response.
- Return customer records. The Service sends the customer array back to the caller so the response includes all records from the MySQL query.