慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

博客园 - 司徒正美
V
V2EX
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
月光博客
月光博客
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python)
文件拖放自动化:每日导入的SFMC模式
SapotaCorp · 2026-05-24 · via DEV Community

吾辈所接物流之务,有日邮件运行,每周辄崩一二,恒默无声息。其事甚简:每晨,客户之订单管理系统输出一CSV,载已发之货单,置SFTP,而SFMC当导入并发送跟单之通知。

毁坏之部:自动化之程,预定朝八时始。多日,文件至乃在朝九时或九点半。半数之时,自动化以昨日之文运行,半数之时,运行而无所导入。千客得谬误之追跡邮。

其治也,在文件滴落始源.

文件滴落与预定

文件落触发自化新文至时于指定SFTP之夹中,非依时辰。若客方于午时十一刻上传,则自动化亦于午时十一刻发。若于子时二刻上传,则亦于子时二刻行。无系于固定之程。

非必待上传之时,宜用文件坠落。唯当知上传必定时,方可用日程(如 SFMC 自行运行上游作业)。

正序如下

File Drop Starting Source  (watching /import/shipping/)
  -> Step 1: Import File Activity   (import the CSV into Shipping_Notification_DE)
  -> Step 2: Send Email Activity    (send from Shipping_Notification_DE)

入全屏模式 出全屏模式

两步骤,文件既至则行,无需人工照看。

文件传输与导入文件之辨,其微妙处甚为关键

此乃二种不同之活动类型也。

  • 文件传输之活动也- 移动或解密文件于SFTP之上加密文件(PGP)或需移至异处时用之。
  • 导入文件之活动 - 自SFTP讀檔,書行於SFMC之數據擴展處。

檔若加密而達,則序為:

File Drop Starting Source
  -> Step 1: File Transfer Activity  (decrypt the .pgp file)
  -> Step 2: Import File Activity    (import the decrypted CSV into DE)
  -> Step 3: Send Email Activity     (send)

入全屏模式 出全屏模式

略步一者,乃初涉之常誤。導入檔案活動報「檔未見」者,由是故也。.pgp 此文件不可径读,实解之文犹未现也。

文名之式与大小写之惑

文件坠落可应于特立之文名,或应于 文名之式 (附 * 之通配符)。恒用式:

shipping_*.csv     matches shipping_20240115.csv, shipping_20240216.csv, etc.

全屏模式 退出全屏模式

一日,吾等之管路骤停。无警讯,无错误,惟寂然。客户上游之作业已更易文件名,自shipping_20240115.csvShipping_20240115.csv首字母大写S). 文件傳輸辨大小寫。文件已落,文件傳輸不啟,自動化未行。

二重之护。

  1. 载记文件名之规于运行簿。与执出口之客户团队共之。
  2. 于自动化中设败亡之警。若工作日午前十时未行,必有人受唤。

SFMC所期之SFTP夹次序

每一增强SFTP得三默认夹:

/Import    <- Import Activity reads files from here
/Export    <- Data Extract Activity writes files here
/Reports   <- Report scheduling output

入全屏模式 出全屏模式

勿删此。导入活动默认为/Import若不重新配置Activity,而将文件置于他处,则失败,示"文件未找到"。

每企业账户可设一共享SFTP或每子账户(MID)一SFTP。须确客户初启何设——文件夹路径与凭据各异。

藏匿所——解密之文栖居其地

文件传输活动将解密或解压缩之输出写入一处受限之域,名曰避难所不返于公SFTP之匣。是时,Import File Activity乃自Safehouse读之。

encrypted file on SFTP
  -> File Transfer Activity (decrypt) -> Safehouse
  -> Import File Activity (read from Safehouse) -> DE

入全景模式 出全屏模式

SFMC自净Safehouse与SFTP之后廿一日 SFTP非长久存储之器。宜早为筹谋。

要义

文件交付乃万物之始源,若文件至期非己所能制。宜配以文件名之式(非硬设之名),与上游团队共记其式,更添故障警示,使默然之过变为昭然之警。三习成,默然之弊除。


设 SFMC 数据导入之管道乎? 吾 Salesforce 之众,于生产之务,设 Automation Studio 之流,以 SFTP、PGP 解密,并监之。 联吾等——>

观吾全 平台服务,吾所覆之栈也。