Automation AI

AI Automation: İş Süreçlerini Otomatikleştirme

RPA (Robotic Process Automation) ve yapay zeka ile iş süreçlerini otomatikleştirme. Document processing, email automation, workflow orchestration ve intelligent automation.

🤖AI Automation Nedir?

AI Automation (Intelligent Automation), tekrarlayan iş süreçlerini yapay zeka ile otomatikleştirir. RPA'nın ötesinde, öğrenen ve karar veren sistemler sunar.

RPA (Klasik)

• Kural tabanlı
• Yapılandırılmış veri
• Tekrarlayan görevler
• %40-60 verimlilik artışı

Intelligent RPA

• AI + RPA kombinasyonu
• OCR, NLP, ML entegre
• Yarı-yapılandırılmış veri
• %60-80 verimlilik artışı

Hyperautomation

• End-to-end otomasyon
• AI, ML, Process Mining
• Karmaşık süreçler
• %80-95 verimlilik artışı

Document Processing (OCR + AI)

# Python ile akıllı belge işleme (fatura örneği)
from openai import OpenAI
import pytesseract
from PIL import Image
import json

client = OpenAI()

def process_invoice(image_path):
    """
    Fatura görselinden OCR + GPT-4 Vision ile veri çıkarma
    """
    # 1. OCR ile metin çıkar (Tesseract)
    image = Image.open(image_path)
    ocr_text = pytesseract.image_to_string(image, lang='tur')

    # 2. GPT-4 ile yapılandırılmış veri çıkar
    response = client.chat.completions.create(
        model="gpt-4-turbo-preview",
        messages=[
            {
                "role": "system",
                "content": """Sen bir fatura işleme asistanısın.
                Verilen fatura metninden şu bilgileri JSON formatında çıkar:
                - firma_adi, vergi_no, fatura_no, tarih, toplam_tutar,
                  kdv, urunler (liste: [ürün adı, miktar, birim fiyat])"""
            },
            {
                "role": "user",
                "content": f"Fatura metni:\n\n{ocr_text}"
            }
        ],
        response_format={"type": "json_object"}
    )

    invoice_data = json.loads(response.choices[0].message.content)
    return invoice_data

# Örnek kullanım
invoice = process_invoice("fatura.jpg")
print(json.dumps(invoice, indent=2, ensure_ascii=False))

# Çıktı:
# {
#   "firma_adi": "ABC Teknoloji A.Ş.",
#   "vergi_no": "1234567890",
#   "fatura_no": "FTR2026001234",
#   "tarih": "2026-02-15",
#   "toplam_tutar": 11800.00,
#   "kdv": 1800.00,
#   "urunler": [
#     {"ad": "Laptop ASUS", "miktar": 2, "birim_fiyat": 5000.00},
#   ]
# }

# 3. Muhasebe sistemine otomatik aktar
def import_to_accounting(invoice_data):
    """Muhasebe yazılımına API ile aktar"""
    import requests

    response = requests.post(
        "https://accounting-api.example.com/invoices",
        json=invoice_data,
        headers={"Authorization": "Bearer YOUR_TOKEN"}
    )

    return response.json()

Kullanım Alanları:

Fatura işleme: OCR + AI ile otomatik veri girişi
Sözleşme analizi: Maddeler, tarihler, tutarlar çıkarma
Kimlik doğrulama: KYC (Know Your Customer)
Form doldurma: Manuel formları otomatik doldur

Email Automation (GPT-4)

# Gmail API + GPT-4 ile akıllı e-posta otomasyonu
import imaplib
import email
from openai import OpenAI

client = OpenAI()

def classify_email(email_content):
    """E-postayı kategorize et ve önem derecesi belirle"""
    response = client.chat.completions.create(
        model="gpt-4-turbo-preview",
        messages=[
            {
                "role": "system",
                "content": """Sen bir e-posta sınıflandırıcısısın.
                E-postayı şu kategorilere ayır:
                - Kategori: 'sipariş', 'destek', 'fatura', 'genel', 'spam'
                - Önem: 'yüksek', 'orta', 'düşük'
                - Öneri_Cevap: Kısa yanıt önerisi (varsa)
                JSON formatında döndür."""
            },
            {"role": "user", "content": email_content}
        ],
        response_format={"type": "json_object"}
    )

    return json.loads(response.choices[0].message.content)

def auto_reply_support(email_data, classification):
    """Destek talebine otomatik yanıt"""
    if classification['kategori'] == 'destek':
        # FAQ veritabanından cevap ara
        faq_answer = search_faq(email_data['subject'])

        if faq_answer:
            # Otomatik yanıt gönder
            response = client.chat.completions.create(
                model="gpt-4-turbo-preview",
                messages=[
                    {
                        "role": "system",
                        "content": "Sen müşteri hizmetleri asistanısın. Nazik ve profesyonel yanıt oluştur."
                    },
                    {
                        "role": "user",
                        "content": f"Soru: {email_data['body']}\n\nCevap taslağı: {faq_answer}"
                    }
                ]
            )

            auto_email = response.choices[0].message.content
            send_email(email_data['from'], email_data['subject'], auto_email)
            return True
        else:
            # İnsan müdahalesi gerekiyor
            assign_to_human(email_data, priority='high')
            return False

# Gmail bağlantısı ve otomatik işleme
def process_inbox():
    mail = imaplib.IMAP4_SSL('imap.gmail.com')
    mail.login('user@example.com', 'password')
    mail.select('inbox')

    # Okunmamış e-postaları al
    status, messages = mail.search(None, 'UNSEEN')

    for num in messages[0].split():
        status, msg_data = mail.fetch(num, '(RFC822)')
        email_message = email.message_from_bytes(msg_data[0][1])

        email_data = {
            'from': email_message['From'],
            'subject': email_message['Subject'],
            'body': get_email_body(email_message)
        }

        # AI ile sınıflandır
        classification = classify_email(email_data['body'])

        # Kategori bazlı aksiyon
        if classification['kategori'] == 'sipariş':
            create_order(email_data)
        elif classification['kategori'] == 'destek':
            auto_reply_support(email_data, classification)
        elif classification['kategori'] == 'spam':
            mark_as_spam(num)

        # Etiketle
        label_email(num, classification['kategori'])

    mail.close()
    mail.logout()

Workflow Automation (n8n)

// n8n workflow: Yeni müşteri kaydı → otomatik onboarding
{
  "nodes": [
    {
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "parameters": {
        "path": "new-customer",
        "method": "POST"
      }
    },
    {
      "name": "GPT-4 Data Validation",
      "type": "n8n-nodes-base.openAi",
      "parameters": {
        "model": "gpt-4-turbo-preview",
        "prompt": "Müşteri verisini doğrula ve eksik bilgileri tespit et: {{$json.customer}}"
      }
    },
    {
      "name": "Create CRM Record",
      "type": "n8n-nodes-base.httpRequest",
      "parameters": {
        "url": "https://api.crm.com/customers",
        "method": "POST",
        "body": "{{$json}}"
      }
    },
    {
      "name": "Send Welcome Email",
      "type": "n8n-nodes-base.emailSend",
      "parameters": {
        "to": "{{$json.customer.email}}",
        "subject": "Hoş Geldiniz!",
        "text": "{{$json.welcomeEmail}}"  // GPT-4'ten gelecek
      }
    },
    {
      "name": "GPT-4 Generate Welcome",
      "type": "n8n-nodes-base.openAi",
      "parameters": {
        "model": "gpt-4-turbo-preview",
        "prompt": "{{$json.customer.name}} için kişiselleştirilmiş hoşgeldin e-postası yaz"
      }
    },
    {
      "name": "Create Tasks",
      "type": "n8n-nodes-base.httpRequest",
      "parameters": {
        "url": "https://api.tasks.com/create",
        "body": {
          "tasks": [
            "Müşteri ile ön görüşme planla (3 gün içinde)",
            "Demo hazırla (5 gün içinde)",
            "Takip araması (7 gün içinde)"
          ]
        }
      }
    },
    {
      "name": "Slack Notification",
      "type": "n8n-nodes-base.slack",
      "parameters": {
        "channel": "#satış",
        "text": "🎉 Yeni müşteri: {{$json.customer.name}} - {{$json.customer.company}}"
      }
    }
  ],
  "connections": {
    "Webhook Trigger": { "main": [[{"node": "GPT-4 Data Validation"}]] },
    "GPT-4 Data Validation": { "main": [[{"node": "Create CRM Record"}, {"node": "GPT-4 Generate Welcome"}]] },
    "GPT-4 Generate Welcome": { "main": [[{"node": "Send Welcome Email"}]] },
    "Create CRM Record": { "main": [[{"node": "Create Tasks"}, {"node": "Slack Notification"}]] }
  }
}

Otomasyon Araçları

AraçKullanımAI DesteğiMaliyet
UiPathEnterprise RPAAI Fabric (ML)$420/ay/bot
Automation AnywhereCloud RPAIQ Bot (OCR+NLP)$750/ay/bot
n8nWorkflow AutomationOpenAI, Hugging FaceSelf-host: $0, Cloud: $20/ay
ZapierSaaS OtomasyonSınırlı (GPT entegrasyonu)$20-600/ay
Make (Integromat)Visual WorkflowOpenAI, ML modelleri$9-299/ay

İş Etkileri ve ROI

Finans Departmanı Örneği

85%
Zaman Tasarrufu
%99.5
Doğruluk Oranı
24/7
Kesintisiz Çalışma

Örnek ROI: Muhasebe Otomasyonu

Öncesi: 3 muhasebe personeli (15K TL/ay) = 45K TL/ay
Manuel işlem: 500 fatura/ay × 15 dk = 125 saat
Sonrası: 1 personel + AI bot (10K TL/ay sistem) = 25K TL/ay
AI işlem: 500 fatura/ay × 2 dk = 17 saat (%86 hızlanma)
Tasarruf: 20K TL/ay = 240K TL/yıl
Yatırım: RPA kurulum 80K TL + OpenAI API (5K TL/ay)
ROI: %200 (ilk yıl), geri ödeme 4 ay

İş Süreçlerinizi AI ile Otomatikleştirin

Document processing, email automation, workflow orchestration ile operasyonel verimliliğinizi %85'e kadar artırın.

Demo İste