DeepSeek Agentic Workflow Setup Guide

Follow the steps below to configure and use DeepSeek for Marketing Task Automation with an agentic workflow:

  1. Obtain an API Key

    • Go to the DeepSeek API Platform and sign up or log in.

    • Generate or copy your API key, then top up your balance if required.

Topup your balance if required

Click Next step to make a payment

Click Create New API Key

Copy your API Key

  1. Log in to Dify.ai

    • Use your GitHub, Google, or email credentials to sign in

  2. Configure the DeepSeek Model Provider

    • In the top-right corner, click Settings.

    • Navigate to the Model Provider submenu.

    • Choose deepseek as your model provider.

    • Enter your API Key and Custom API endpoint URL (e.g., https://api.deepseek.com/v1 or https://api.deepseek.com).

    • Click Save.

    • Confirm the configuration by checking for the three available DeepSeek models.

Choose deepseek as your model provider

Enter your API Key and Custom API endpoint URL

Confirm the configuration by checking for the three available DeepSeek models.

  1. Download the Marketing Task Automation (DeepSeek) DSL File

    • Obtain the .yml file below:

Marketing Task Automation (DeepSeek).yml18.87 KB • File
  1. Open the Studio Menu

Dify’s Studio Menu

  1. Import the DSL File

    • From the options at the top-left (Create from Blank, Create from Template, Import DSL file), choose Import DSL file.

    • Select the downloaded file: Marketing Task Automation (DeepSeek).yml.

    • Click Create.

Click Import DSL File

Select the DSL file: Marketing Task Automation (DeepSeek) to upload the file

Click Create

  1. Publish and Run the App

    • In the top-right corner, open the Publish menu.

    • Select Run App.

Click Publish

Click Run App

  1. Enter Your Prompt

    • In the new chat window, type: Write a marketing plan for new product launch.

    • Submit the prompt.

Start new chat and then type the prompt and submit

  1. Review the Generated Output

    • Wait for the system to process your request and display the full marketing plan.

    • Optionally, refine or iterate on the plan using further prompts.

Wait for Workflow Process

To view example outputs generated using the DeepSeek API, click the downloadable file below.

Marketing Summary Plan using DeepSeek API.pdf131.05 KB • PDF File

These steps complete the basic setup for using DeepSeek in an agentic workflow for Marketing Task Automation. Now you can explore additional features, fine-tune your prompts, and utilize DeepSeek’s language models to automate marketing tasks efficiently.