ai自动化办公

充当人和机器的翻译官。

http://localhost:5678/ n8n工作流程可视化 (灵活度高,可嵌入代码)

mail: jack2nb@qq.com
password: Wsf.100200300

高的天气

b530287dd777899a99e418a5e643ac15

https://restapi.amap.com/v3/weather/weatherInfo
curl --location --request GET 'https://restapi.amap.com/v3/weather/weatherInfo?key=b530287dd777899a99e418a5e643ac15&city=330200'

企微群机器人

https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=4485185b-9a03-42ad-8c69-a5dbb9e69fa0

可参考 apifox文档

curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=693axxx6-7aoc-4bc4-97a0-0ec2sifa5aaa' \
   -H 'Content-Type: application/json' \
   -d '
   {
    	"msgtype": "text",
    	"text": {
        	"content": "hello world"
    	}
   }'

流程调用python

import micropip
await micropip.install('pandas')
import pandas as pd


data = [item['json'] for item in _input.all()]
df =  pd.DataFrame(data)

#df['created']= pd.to_datetime(df['created'], format.'%Y-%m-%d')
#df['created_str'] =  df['created'].dt.strftime('%Y-%m')
#df = df[['id', 'name','created_str']]
#df['first_id']= _input.first()['json']['id']

df['_today'] = _today
df['_pnode'] = _prevNode.name
df["_env"] = _env
df["_eid"] = _execution.id
df['_emode'] = _execution.mode
df['_eurl'] = _execution.resumeUrl
df["_wactive"] = _workflow.active
df["_wid"] = _workflow.id
df["_wname"] = _workflow.nane
outv = df.to_dict(orient="records")
print(outv)
return outv
return _input.all()

打通企业微信

wechatpy

pip install wechatpy

打通个人微信

pip install  wxauto==3.9.11.17.5

简单发送信息

from wxauto import WeChat
wx = WeChat()
wx.SendMsg(msg="你好呀",who="文件传输助手")

api服务

前端Kong访问控制